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.common' #381
Comments
@enzoli977 Oh no Windows is a complex beast :( Tbh only WSL and Linux and Apple devices with NVIDIA GPUs are mostly supported, so you'll have to follow #210 for Windows support |
Windows is a huge complicated garbage fire. Use the wheels I showed in the home.md in #210 along with installing the proper visual studio build tools, shown in a detailed picture at the bottom. It honestly isn’t supposed to work, it just does. I can’t expect this to work for ever, half the things are deprecated in Microsoft MVSC’s and some how that compiled triton works (in the home.md link) with it. Also I believe you didn’t install the triton libraries and add them to path, thats quite essential. Either way use my 2.1 triton wheel and the triton libraries I link in there. If you dont want a “trust me bro” find wkpark on github he made the wheels and libraries he might have made more up to date ones too. I only made the deepspeed wheels, to this date I still have no clue how he compiled triton wheels for windows. Still gotta figure it out, so if triton gets a major update I’m not screwed. |
I see this on some linux instances in runpod. |
@madiator I'm assuming its torch 2.3 - change xformers to |
i was trying to fine tune llama model locally with Win10, after installing the necessary environment, I tried:
from unsloth import FastLanguageModel:
and got :
No module named 'triton.common'
i installed triton 2.0.0 from https://huggingface.co/r4ziel/xformers_pre_built/tree/main
Did I install the wrong package? Thanks!
The text was updated successfully, but these errors were encountered: