Skip to content

ModuleNotFoundError: No module named 'triton' #60

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

Open
get-off-my-train opened this issue May 24, 2025 · 3 comments
Open

ModuleNotFoundError: No module named 'triton' #60

get-off-my-train opened this issue May 24, 2025 · 3 comments

Comments

@get-off-my-train
Copy link

X:\Hunyuan3D2_WinPortable\python_standalone>python.exe --version
Python 3.12.9

X:\Hunyuan3D2_WinPortable\Hunyuan3D-2>..\python_standalone\python.exe -s gradio_app.py
A matching Triton is not available, some optimizations will not be enabled
Traceback (most recent call last):
File "X:\Hunyuan3D2_WinPortable\python_standalone\Lib\site-packages\xformers_init_.py", line 57, in _is_triton_available
import triton # noqa
^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'triton'

X:\Hunyuan3D2_WinPortable\Hunyuan3D-2>cd ..

X:\Hunyuan3D2_WinPortable>endlocal

X:\Hunyuan3D2_WinPortable>pause

@benbenbaby09
Copy link

我也遇到相同问题,求解决,我的是python313版本,不知要下载哪个whl文件

@YanWenKun
Copy link
Owner

@YanWenKun
Copy link
Owner

YanWenKun commented May 28, 2025

@benbenbaby09 你可以用刚发的新版 整合包 ,也可以手动安装 triton-windows:
https://github.com/woct0rdho/triton-windows
https://pypi.org/project/triton-windows/

注意 triton 需要 Python 头文件、库文件,因此不能直接用 Python Embedded (该版本极度精简,不含这些文件)。可以像整合包一样用 Python Standalone,或直接常规安装 Python 。

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

3 participants