Easy Triton Installation on Windows
🕑 Added 2025-01-12 21:41:19 +0000 UTC
Hands up , here how I do it. I saw many people struggling on this part.
So, there are many other repo that have Triton.
Here's another one specific for Python 3.11 https://huggingface.co/madbuda/triton-windows-builds/blob/main/triton-2.1.0-cp311-cp311-win_amd64.whl
As you can see the screenshot above, the CP310 show error, because it's not the Python version that install in my system.
Leave a comment if yougott into a problem. :)
P.S: You need to make it install ;) for upcoming AI Video with DIT, we are going to face more attention method, etc. that required Trition.
Comments
Benjamin Law
I think you need to check on this one : https://github.com/woct0rdho/triton-windows/releases this is for Windows version. inductor , you have to install VS Code, and C++ first. For C++ implementation is here : https://github.com/woct0rdho/triton-windows?tab=readme-ov-file#install-from-wheel
Denn_Fi_
Hi Benji. First of all thank you for your great work. I can use some help now. Tried to install Triton like you suggest. No matter which way I tried to - Triton seems to be already installed. But when I use your WaveSpeed workflow I get the same error: "backend='inductor' raised: RuntimeError: Cannot find a working triton installation. Either the package is not installed or it is too old. More information on installing Triton can be found at https://github.com/openai/triton Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information". Tried it with Comfy Windows portable and the installed version. Same same. Would be great to get help. Thanks in advance.
Benjamin Law
Looks like you are using ComfyUI windows portable, right?
Robb McCormick
I don't have an environment when I do conda activate comfyui - I am using anaconda. How do I use conda activate comfyui?