要优化在Windows上安装ComfyUI的过程,可以参考以下步骤和建议:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
conda create -n ComfyUI python=3.10 -y
conda activate ComfyUI
pip install -r requirements.txt
ComfyUI_windows_portable_nvidia.7z
。run_nvidia_gpu.bat
(NVIDIA显卡用户)或run_cpu.bat
(CPU用户)文件。http://127.0.0.1:8188
,即可使用ComfyUI。hydra-core
和omegaconf
版本不匹配,可以尝试创建新的虚拟环境并重新安装ComfyUI及其依赖项。conda create -n ComfyUI python=3.10 -y
conda activate ComfyUI
pip install -r requirements.txt
pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple
ComfyUI/config.json
。通过以上步骤和建议,可以有效优化在Windows上安装ComfyUI的过程,确保其稳定性和高效运行。如果在安装过程中遇到其他问题,可以参考ComfyUI的官方文档或社区论坛寻求帮助。