安装最新英伟达驱动:
https://developer.nvidia.com/cuda-toolkit

CUDA下载安装:https://developer.nvidia.com/cuda-toolkit-archive
cudnn9.8.0下载安装:
https://developer.nvidia.com/cudnn
VS2022下载安装:
https://visualstudio.microsoft.com/zh-hans/downloads
git下载安装:
python下载安装:
https://www.python.org/downloads/
安装Python
查看环境变量:
命令提示符中运行python,查看安装版本
安装 pytorch 命令行输入(开启魔法):
python -s -m pip install --force-reinstall torch==2.7.0.dev20250307+cu128 torchvision==0.22.0.dev20250308+cu128 torchaudio==2.6.0.dev20250308+cu128 --index-url https://download.pytorch.org/whl/nightly/cu128
其他加速环境:
SageAttention 2.1.1 下载链接
https://huggingface.co/Panchovix/sageattention2.1.1-blackwell2.0-windows-nightly/tree/main
xformers 0.0.30 下载链接
https://huggingface.co/Panchovix/xformers-windows-blackwell2.0-nightly/tree/main
triton 3.2.0 下载链接
https://github.com/woct0rdho/triton-windows/releases
安装
python -m pip install xformers-0.0.30%2B9a2cd3ef.d20250321-cp312-cp312-win_amd64.whl
python -m pip install triton-3.2.0-cp312-cp312-win_amd64.whl
python -m pip install sageattention-2.1.1-cp312-cp312-win_amd64.whl
查看是否安装成功:
python -m pip list
ComfyUI-Manager
git clone https://github.com/Comfy-Org/ComfyUI-Manager.git
pip install -r D:\50xi_StarAI_Comfyui\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt
运行comfyui
更新本体与插件
系统变量设置:
C:\ProgramFiles\MicrosoftVisual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\bin\Hostx64\x64
C:\ProgramFiles\MicrosoftVisual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\libnvp
C:\Program Files\NVIDIA\CUDNN\v9.8\bin
C:\Program Files\NVIDIA\CUDNN\v9.8\include
C:\Program Files\NVIDIA\CUDNN\v9.8\lib
C:\Program Files\NVIDIA\CUDNN\v9.8\lib\x64
C:\ProgramFiles\Git\cmd
C:\ffmpeg6.0\bin