File size: 3,748 Bytes
e89fc47 2ff0133 53843a2 27f1e39 a7f690e 53843a2 a7f690e 53843a2 e89fc47 53843a2 a7f690e 53843a2 a7f690e 53843a2 6210807 53843a2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
---
license: unknown
---

# ⭐ <FONT SIZE="+3">ComfyUI portable enhanced edition</FONT> ⭐
- Updated 22th December 2025 with ComfyUI version `0.5.1`
The current official ComfyUI portable has two slight disadvantages, firstly it does not come with Git portable which is occasionally required by custom node packs or
to automatically models etc, and the latest versions come with Python 3.13 by default which still has (few) compatibility issues with some extensions.
So I am updating this version based on Python 3.12 with the latest updates and included Git and the [ComfyUI-Manager](https://github.com/Comfy-Org/ComfyUI-Manager) node.
Recently I added some custom scripts with which you can easily modify the embedded Python environment too.
➡️➡️ [Download folder](https://huggingface.co/datasets/Xeno443/ComfyUI_portable_python312/tree/main)
**This version is not supported or endorsed by Comfyanonymous!**
<!-- bar collection
<IMG SRC="https://images2.imgbox.com/59/c8/NexBMVPR_o.png" ALT="transparent" style="width: 1084px; height: 5px">
<IMG SRC="https://images2.imgbox.com/59/c8/NexBMVPR_o.png" ALT="lightgray" style="width: 1084px; height: 5px">
<IMG SRC="https://images2.imgbox.com/63/d9/CmDulOER_o.png" ALT="lightblue" style="width: 1084px; height: 5px">
-->
### 🟨<FONT SIZE="+2"><B>Usage</B></FONT>
<IMG SRC="https://images2.imgbox.com/63/d9/CmDulOER_o.png" ALT="lightblue" style="width: 1084px; height: 5px">
This portable version contains all components required to use ComfyUI without needing to install any additional components. 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:
* Latest Microsoft Visual C++ Redistributable Installer
https://aka.ms/vc14/vc_redist.x64.exe
After you unzip the archive you will find a few batch files in the main directory which must be used to run and modify the portable environment.
* <FONT COLOR="white"><B>run_nvidia_gpu_v2.bat</B></FONT>
This file sets up the necessary environment variables and launches ComfyUI
* <FONT COLOR="white"><B>run_nvidia_gpu_v2_fast_fp16_accumulation.bat</B></FONT>
Same as above but enables fast FP16 accumulation.
* <FONT COLOR="white"><B>run_nvidia_gpu_v2_sageattn.bat, run_nvidia_gpu_v2_flashattn.bat</B></FONT>
Same as above but enables the corresponding alternate attentions.
* <FONT COLOR="white"><B>install_sageattn1.bat, install_sageattn2.bat, install_flashattn.bat</B></FONT>
These install the corresponding versions of Sage or Flash Attention into the Python environment.
**Only use this if you know what you are doing!**
* <FONT COLOR="white"><B>get-models.bat</B></FONT>
On a fresh install you will be missing a few essential/popular models and this file will download them for you.
* <FONT COLOR="white"><B>environment.bat</B></FONT>
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!**
* <FONT COLOR="white"><B>change-pytorch.bat</B></FONT>
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!**
### 🟨<FONT SIZE="+2"><B>Other</B></FONT>
0.3.49 was the last version that came with Python 3.12.10, you can still download it from the official github, and I placed a backup in this HF.
https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.49/ComfyUI_windows_portable_nvidia.7z |