| ComfyUI portable environment enhanced edition https://huggingface.co/datasets/Xeno443 | |
| ============================================================================================================================= | |
| This ComfyUI portable version has been enhanced to include | |
| * a portable Git, which is sometimes needed to download additional custom node components | |
| * ComfyUI-Manager for easy custom node management | |
| * Keeping Python v3.12.10 for maximum compatibility | |
| Everything else is unchanged from the original ComfyUI portable. | |
| The only thing your system needs are the Microsoft Visual C++ runtimes, but if you are not using a naked Windows install | |
| it is very likely that you already have those. If you don't have them you can download them here: | |
| ## Microsoft Visual C++ 2015-2022 Redistributable | |
| https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022 | |
| The original startup bat files remain unchanged and as such will not be able to use Git if you don't have a system-wide install. | |
| Use the "_v2" versions to make sure the portable environment is set up correctly. | |
| Usage | |
| ===== | |
| ## run_nvidia_gpu_v2.bat | |
| This file sets up the necessary environment variables and launches ComfyUI | |
| ## get-models.bat | |
| On a fresh install you will be missing a few essential/popular models and this file will download them for you. | |
| ## run_nvidia_gpu_v2_fast_fp16_accumulation.bat | |
| Same as above but enables fast FP16 accumulation. | |
| ## run_nvidia_gpu_v2_sageattn.bat | |
| Starts ComfyUI with support for Sage Attention. | |
| You first must install Sage Attention support! | |
| ## run_nvidia_gpu_v2_flashattn.bat | |
| Starts ComfyUI with support for Flash Attention. | |
| You first must install Flash Attention support! | |
| ## install_sageattn1.bat, install_sageattn2.bat, install_flashattn.bat | |
| These install the corresponding versions of Sage or Flash Attention into the Python environment. | |
| Only use this if you know what you are doing! | |
| ## environment.bat | |
| Starts a cmd.exe within the portable environment. You can use this to manually modify the embedded Python. | |
| Only use this if you know what you are doing! | |
| ## change-pytorch.bat | |
| This allows you to switch to a different Pytorch version, or just reinstall the current one if you encounter issues. | |
| Only use this if you know what you are doing! | |