/ComfyUI-Clean-Install

Scripts help setup a clean install of ComfyUI and supporting tools

Primary LanguageBatchfile

ComfyUI-Clean-Install

Windows batch files to help install a new copy of ComfyUI and ComfyUI-Manager. Also installs required dependecies.

delete-all-python-packages.bat

Deletes all of the installed Python packages. Good for after you've uninstalled Python and want to start clean.

comfyui-fresh-install-stable-torch.bat

Clones and installs ComfyUI and ComfyUI-Manager.
Installs STABLE torch.

comfyui-fresh-install-nightly-torch.bat

Clones and installs ComfyUI and ComfyUI-Manager.
Installs NIGHTLY torch.

comfyui-fresh-install-venv-stable-torch.bat

Installs ComfyUI in a venv with STABLE torch.

comfyui-fresh-install-venv-nightly-torch.bat

Installs ComfyUI in a venv with NIGHTLY torch.

flash-attn-clone-source-compile-stable-torch.bat

Clones the latest Flash Attention source, compiles a wheel and installs the wheel via pip. This is tested to work in Windows and Comfy.
Requires Python 3.11.x
Requires Visual Studio 2022 with C++ build tools installed.
Requires CUDA. Latest version recommended. Tested with CUDA 12.5
Installs STABLE torch.

flash-attn-clone-source-compile-nightly-torch.bat

Same as above but installs NIGHTLY torch.

flash-attn-v1.0.9-clone-source-compile-for-older-gpu-stable-torch.bat

Clones the v1.0.9 of Flash Attention source, compiles a wheel and installs the wheel via pip. Installs STABLE torch. This is for older GPUs. Tested on 2080ti.

flash-attn-v1.0.9-clone-source-compile-for-older-gpu-nightly-torch.bat

Clones the v1.0.9 of Flash Attention source, compiles a wheel and installs the wheel via pip. Installs NIGHTLY torch. This is for older GPUs. Tested on 2080ti.

flash-attn-pip-compile.bat

NOT RECOMMENDED. Compiles and installs the latest Flash Attention via pip. Although Flash Attention compiles, it seems to be missing something and doesn't work with ComfyUI.