What problem does it solve?
ComfyUI video workflows (especially WanVideoWrapper graphs) crash with "No module named 'sageattention'" or "triton: unavailable" when they assume SageAttention and torch.compile are installed, and installing the wrong wheel can break the torch environment entirely.
Core Features & Use Cases
- Safe sdpa fallback first: Switch WanVideoModelLoader attention_mode to sdpa and disconnect WanVideoTorchCompileSettings so the workflow renders unaccelerated before any risky install.
- Version-matched Windows install: Detect the correct ComfyUI python (Desktop standalone-env, Portable python_embeded, or manual venv), read torch/CUDA/python versions, and install matching triton-windows and woct0rdho SageAttention wheels.
- Linux and Mac guidance: Use official triton and pip sageattention on Linux; on Mac skip acceleration entirely and use sdpa on the MPS backend.
- Use Case: A user loads a Wan video workflow that crashes on sageattn. The skill flips attention to sdpa to get a render, then offers to install Triton + SageAttention matched to torch 2.10/cu130, verifies torch still imports with CUDA, and re-enables sageattn.
Quick Start
Fix my ComfyUI workflow that crashes with "No module named 'sageattention'" and then install Triton and SageAttention matched to my torch and CUDA versions.