CivArchive
    ← All articles
    Published September 3, 2025by m8rr

    How I installed SageAttention and Triton Windows.

    374 views0 reactions0 comments on CivitAI5 collected
    tool guide

    1. Download comfyui and unzip to a suitable location.

    https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.49/ComfyUI_windows_portable_nvidia.7z

    (comfyui0.3.49, pytorch2.7, python3.12, cuda12.8)

    goto ComfyUI_windows_portable\update and Run update_comfyui_stable.bat for update.

     

    2. Download library

    https://github.com/woct0rdho/triton-windows/releases/download/v3.0.0-windows.post1/python_3.12.7_include_libs.zip

    unzip two folders into YOUR-FOLDER-PATH\ComfyUI_windows_portable\python_embeded\

     

    3. Install Triton windows.

    Open Command Prompt and run.

    YOUR-FOLDER-PATH\ComfyUI_windows_portable\python_embeded\python.exe -m pip install triton-windows<3.4

    (Example. D:\AI\ComfyUI_windows_portable\python_embeded\python.exe -m pip install triton-windows<3.4)

      

    4. Download sageattention

    https://github.com/woct0rdho/SageAttention/releases/download/v2.2.0-windows.post2/sageattention-2.2.0+cu128torch2.7.1.post2-cp39-abi3-win_amd64.whl

     

    Install sageattention (Run from the downloaded location)

    YOUR-FOLDER-PATH\ComfyUI_windows_portable\python_embeded\python.exe -m pip install sageattention-2.2.0+cu128torch2.7.1.post2-cp39-abi3-win_amd64.whl

    (Example. D:\AI\ComfyUI_windows_portable\python_embeded\python.exe -m pip install sageattention-2.2.0+cu128torch2.7.1.post2-cp39-abi3-win_amd64.whl)

     

    5. goto ComfyUI_windows_portable and Edit run_nvidia_gpu.bat

    add --use-sage-attention after --windows-standalone-build

    (Example. .\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --use-sage-attention

    pause)

     

    6. Run run_nvidia_gpu.bat

    Check the "Using sage attention" statement and make sure there are no errors.

      

      

    WAN 2.2 basic GGUF 720p workflow - v1.0 | Wan Video Workflows | Civitai

    Using this workflow, took 185 seconds to generate a wan2.2 14B T2V.

    (after all loading was complete, RTX4070S 12G VRAM, 32G RAM, 720x1280x81)