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

Error caught was: No module named 'triton' #97

Open
BryanHarrisScripts opened this issue Oct 19, 2023 · 9 comments
Open

Error caught was: No module named 'triton' #97

BryanHarrisScripts opened this issue Oct 19, 2023 · 9 comments

Comments

@BryanHarrisScripts
Copy link

BryanHarrisScripts commented Oct 19, 2023

A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'

Is this required...

@williamyang1991
Copy link
Owner

It seems Triton is not available on Windows, but you can ignore it. It wont affect anything else beyond not enabling the triton optimizations that come with xformers.
invoke-ai/InvokeAI#2611 (comment)

@zhanghongyong123456
Copy link

It seems Triton is not available on Windows, but you can ignore it. It wont affect anything else beyond not enabling the triton optimizations that come with xformers. invoke-ai/InvokeAI#2611 (comment)

you can install .whl , use this file https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl(must py3.10)

@FurkanGozukara
Copy link

https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl

I got python 3.10.11

C:\Users\King>pip install https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting triton==2.0.0
  Downloading https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl (36 kB)
ERROR: Wheel 'triton' located at C:\Users\King\AppData\Local\Temp\pip-unpack-gix8jh5w\triton-2.0.0-cp310-cp310-win_amd64.whl is invalid.

@zhanghongyong123456
Copy link

https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl

I got python 3.10.11

C:\Users\King>pip install https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting triton==2.0.0
  Downloading https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl (36 kB)
ERROR: Wheel 'triton' located at C:\Users\King\AppData\Local\Temp\pip-unpack-gix8jh5w\triton-2.0.0-cp310-cp310-win_amd64.whl is invalid.

oh, you mabe install this file,For a long time, forget whether it is this link, you can install my local upload link
triton-2.0.0-cp310-cp310-win_amd64.zip

@dnihil
Copy link

dnihil commented Nov 18, 2023

can somebody explain how to fix this in English? like 90% of the issues on this program are unsolved.

@FurkanGozukara
Copy link

can somebody explain how to fix this in English? like 90% of the issues on this program are unsolved.

here tutorial > https://youtu.be/a8oeCFyM5gA

@zethfoxster
Copy link

can somebody explain how to fix this in English? like 90% of the issues on this program are unsolved.

here tutorial > https://youtu.be/a8oeCFyM5gA

you dont cover fixing the missing triton in that video. infact you ignored that completely.

@FurkanGozukara
Copy link

FurkanGozukara commented Dec 29, 2023

triton

triton just speed up. there is an experimental wheel but i didnt notice speed boost yet

triton-lang/triton#2738 (comment)

https://github.com/wkpark/triton/actions/runs/7246431088

@jmr022024
Copy link

https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl

I got python 3.10.11

C:\Users\King>pip install https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting triton==2.0.0
  Downloading https://huggingface.co/r4ziel/xformers_pre_built/blob/main/triton-2.0.0-cp310-cp310-win_amd64.whl (36 kB)
ERROR: Wheel 'triton' located at C:\Users\King\AppData\Local\Temp\pip-unpack-gix8jh5w\triton-2.0.0-cp310-cp310-win_amd64.whl is invalid.

oh, you mabe install this file,For a long time, forget whether it is this link, you can install my local upload link triton-2.0.0-cp310-cp310-win_amd64.zip

Excuse me, in which folder should I install this file?

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

7 participants