-
Notifications
You must be signed in to change notification settings - Fork 34
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
win10 instructions update #7
Comments
Good points! Have you tried to build Triton on windows for even more performance? ;-) I have not! I'm getting 61fps on my rtx 3090+Ryzen 5900. If you want the max speed version, this bit of the instructions works: pip install -r req-maxperf.txt But this fails to find the wheel on my windows at least: pip install -r req-sfast.txt So instead install stable-fast from a wheel: I got the url from: https://github.com/chengzeyi/stable-fast/releases And then you run it like this for batch size 6, not to be confused by the batchsize:max=10 thing e.g. python maxperf.py 6 but it does seem a bit buggy, it starts with 6 then fills up all 10 spaces anyway when you click 'go'. |
I don't understand "prerequisiton:use conda as default env." but agree with the other points. Here's the guide for the CUDA error that we use in 4090 Grotto (https://discord.gg/zVAvFp3wnU): "Torch not compiled with CUDA enabled"If you get this error, you need to have the correctly compiled version of torch which you can find with this command:
Once you have found the correct version, you can install it like this:
In this example we've installed version |
prerequisiton:use conda as default env.
1.adjust python -m venv ./venv to python -m venv venv(drop ./)
2.use nvdia-smi to ensure your CUDA version. In my case ,cuda 12.2.
3.If you encounter "raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled",which means that you need to install CUDA support;
using pip uninstall torch
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
install CUDA support;
4.Run the code left ,then it works!
In my system using 3070,2 minutes will genertate 2 images!
The text was updated successfully, but these errors were encountered: