ステップ 7: Triton のインストール(オプション)
最新の ComfyUI Portable を使用している場合
Python version: 3.13.9
ComfyUI version: 0.3.68
ComfyUI frontend version: 1.28.8
ComfyUI Portable フォルダ内で CMD を使用して、以下のコマンドで Triton をインストールできます。
python_embeded\python.exe -m pip install -U "triton-windows<3.6"
D:\ComfyUI_SeedVR2>python_embeded\python.exe -m pip install -U "triton-windows<3.6"
Collecting triton-windows<3.6
Downloading triton_windows-3.5.0.post21-cp313-cp313-win_amd64.whl.metadata (1.8 kB)
Downloading triton_windows-3.5.0.post21-cp313-cp313-win_amd64.whl (47.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.3/47.3 MB 14.4 MB/s 0:00:03
Installing collected packages: triton-windows
Successfully installed triton-windows-3.5.0.post21
インストール後、ComfyUI を再起動すると、Triton
が表示されます。
⚠️ SeedVR2 optimizations check: Flash Attention ❌ | Triton ✅
💡 Install Flash Attention for faster inference: pip install flash-attn
🔧 Conv3d workaround active: PyTorch 2.9.0, cuDNN 91200 (fixing VAE 3x memory bug)
📊 Initial CUDA memory: 10.83GB free / 11.99GB total
注意:
ComfyUI Portable の埋め込み Python には必要なすべてのファイルが含まれていないため、torch.compile を有効にするとファイルが見つからないエラーが発生する可能性があります。
cuda_utils.c:14: error: include file 'Python.h' not found
修正:
python.org から Python 3.13 64-bit をダウンロードしてインストールします。
インストール後、C:\Users\your_name\AppData\Local\Programs\Python\Python313\include\ フォルダ内のすべてのファイルを D:\ComfyUI\python_embeded\include にコピーします。