Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'triton',default.yaml #46

Open
zArvin6808 opened this issue Nov 9, 2024 · 0 comments
Open

No module named 'triton',default.yaml #46

zArvin6808 opened this issue Nov 9, 2024 · 0 comments

Comments

@zArvin6808
Copy link

A matching Triton is not available, some optimizations will not be enabled
Traceback (most recent call last):
File "D:\AI\Hallo2\hallo2\runtime\lib\site-packages\xformers_init_.py", line 55, in _is_triton_available
from xformers.triton.softmax import softmax as triton_softmax # noqa
File "D:\AI\Hallo2\hallo2\runtime\lib\site-packages\xformers\triton\softmax.py", line 11, in
import triton
ModuleNotFoundError: No module named 'triton'
Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch().
第一个问题:
运行app.py有上面的提示没有triton
查了下资料,xformers v0.0.25.post1的版本
Triton 内核现在需要至少具有计算能力 8.0 的 GPU(A100 或更高版本)。这是由于较新版本的 triton 无法正确支持较旧的 GPU,删除了对 2.1.0 之前的 PyTorch 版本的支持。
但是不影响启动
请问:这个错误如何处理。

第二个问题:
运行app.py提示找不到default.yaml文件,查看目录hallo2\configs\inference,发现文件夹没有这个文件,修改app里的configs/inference/default.yaml,为configs/inference/long.yaml,可以正常运行,是否有影响。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant