Here is a quick guide on how to install Sage Attention, Flash Attention, or Triton in the new 2026 version of ComfyUI.
This is the first tutorial shows how to install Trition.
The most critical first step is identifying the exact environment your ComfyUI is currently running on.
This step is incredibly simple: on the main interface, click the three-dots icon in the top right corner of your local ComfyUI. Select the first option, Manage => About. You will then see your current environment details.
You need to note down three key pieces of information:
Python Version = 3.13.12 (This is my current version; yours might be different)
PyTorch Version = 2.10.0
CUDA Version = CU130
the link below is how to install Sage attention, click it if you need it.
這篇是如何安裝Sage attention, 有需要可以按以下連結
https://civitai.red/articles/33949/how-to-install-sage-attention-in-new-comfyui-desktop-2026
the link below is how to install Flash attention, click it if you need it.
這篇是如何安裝Flash attention, 有需要可以按以下連結
https://civitai.red/articles/33950/how-to-install-flash-attention-in-new-comfyui-desktop-2026
簡單分享一下如何在2026新版的Comfyui安裝Sage Attention/ Flash Attention/ Trition
這是第一個教學, 先安裝Trition
其中最首要的, 是必須找出你目前Comfy運行的環境
這步超簡單, 在主介面, 按本地comfy右上角三點icon, 按第一個選項管理=>關於, 你就可以看到目前的環境
你需要知道的是3個資訊:
Python Version = 3.1312 (這是我目前的Version, 你或許跟我不一樣)
Pytouch Version = 2.10.0
Cuda Version = CU130



Once you have identified these three pieces of information, here comes the tricky part—you need to find the matching .whl (wheel) file online.
Let me start with an example:
找出這三個資訊後, 麻煩的就來了, 你必須上網找到對應的whl
我先給一個例子:
https://github.com/woct0rdho/triton-windows

找到你的Display Card 對應Version, 像我是30系, 是Ampere architecture sm86

然後找到你PyTouch對應的Version, 像我是2.10, Triton就選3.6

Then, you can go here to look for the .whl file.
https://pypi.org/project/triton-windows/#files
Since my Python version is 3.13 and my OS is Windows, I will choose this specific one to download.
Once downloaded, place this .whl file onto the drive where you installed ComfyUI—in my case, that is E:\ComfyUI.
然後你可以去這兒找whl
https://pypi.org/project/triton-windows/#files
像我的Python是3.13, OS是windows, 就選這個下載
把這個whl檔案放到你安裝ComfyUI的硬碟, 像我是E:\ComfyUI



Next, open the terminal inside ComfyUI.
接下來, 進入到ComfyUI中的Terminal


This is a critical step: you must first enter the scripts folder inside .venv, and then use pip install to install it.
這是較關鍵的位置, 先進入 .venv 中的 scripts, 再用pip install安裝.
Type the following command here: pip install triton_windows-3.7.0.post26-cp313-cp313-win_amd64.whl
Make sure to change triton_windows-3.7.0.post26-cp313-cp313-win_amd64 to the actual filename of the .whl file you downloaded, and then press Enter.
Normally, the installation will be complete in just a few seconds.
在這兒輸入: pip install triton_windows-3.7.0.post26-cp313-cp313-win_amd64.whl
適當修改你下載whl的檔案名, 然後按Enter就可以
正常幾秒後就安裝完成


