frequent-errors
Triton Missing or Unavailable in ComfyUI
What the Triton backend warning means and when you actually need to fix it.
What you see in the logs
When ComfyUI starts, you may see one of these messages in the terminal:
Found comfy_kitchen backend triton: {'available': False, 'disabled': True, 'unavailable_reason': "..."}
Or:
No module named 'triton'
This is one of the most common "errors" reported. In reality, this is not an error and does not need to be fixed.
What is Triton
Triton is a GPU programming language and compiler developed by OpenAI. PyTorch's torch.compile uses it to generate efficient GPU kernels. Official Triton only supports Linux, so on Windows ComfyUI detects it as unavailable and prints this log message.
How does this affect you
For everyday use: zero impact. ComfyUI uses CUDA for inference by default and does not depend on Triton. Your image generation speed and quality are completely unaffected.
Triton is only useful in these scenarios:
torch.compile— PyTorch's JIT compilation feature that can speed up inference. Without Triton on Windows,torch.compilecannot use the Triton backend, but this feature is not enabled by default in ComfyUI anyway.- SageAttention — An attention acceleration library that relies on Triton to compile kernels. It can provide a 30-40% speed boost on RTX 4000/5000 series GPUs and roughly 10-15% on RTX 3000 series.
If you do not use these features, you can safely ignore this log message.
Advanced: installing Triton on Windows
If you do need torch.compile or SageAttention, you can install Triton via the community-maintained triton-windows fork.
Prerequisites: PyTorch >= 2.6, NVIDIA GPU, Python 3.10/3.11/3.12.
Run the following in your ComfyUI Python environment:
# Install triton-windows (includes its own CUDA toolchain — no separate CUDA Toolkit needed)
pip install triton-windows
# Verify the installation
python -c "import triton; print(triton.__version__)"
If you are using ComfyUI Portable (embedded Python), use the full path:
C:\path\to\ComfyUI\python_embeded\python.exe -m pip install triton-windows
Things to keep in mind:
- Installing triton-windows does not guarantee a noticeable speedup — it depends on the models and workflows you use.
- Some users have reported slower generation times after installing it. If you run into issues, simply uninstall:
pip uninstall triton triton-windows - This is a community project, not an officially supported solution. Install at your own risk.
Important: do not install or uninstall triton from inside the launcher. The launcher treats triton as a protected runtime package, and manual changes may corrupt the environment. If you need to install it, use a terminal outside the launcher.
Contact us
If ComfyUI fails to start and you see other error messages (not just triton-related), please reach out to support using the "Contact Us" button in the app.
Документация Wonderful Launcher