diff --git a/.ci/windows_amd_base_files/run_amd_gpu.bat b/.ci/windows_amd_base_files/run_amd_gpu.bat index 274d7c948..f33fcd47c 100755 --- a/.ci/windows_amd_base_files/run_amd_gpu.bat +++ b/.ci/windows_amd_base_files/run_amd_gpu.bat @@ -1,2 +1,8 @@ -.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build -pause +set "BASE=%~dp0" + +set "PYTHONNOUSERSITE=1" +set "PYTHONPATH=" +set "PYTHONHOME=" + +"%BASE%python_embeded\python.exe" -s "%BASE%ComfyUI\main.py" --windows-standalone-build +pause diff --git a/.ci/windows_amd_base_files/run_amd_gpu_enable_dynamic_vram.bat b/.ci/windows_amd_base_files/run_amd_gpu_enable_dynamic_vram.bat index 94ad31942..16eac67c4 100755 --- a/.ci/windows_amd_base_files/run_amd_gpu_enable_dynamic_vram.bat +++ b/.ci/windows_amd_base_files/run_amd_gpu_enable_dynamic_vram.bat @@ -1,2 +1,8 @@ -.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --enable-dynamic-vram -pause +set "BASE=%~dp0" + +set "PYTHONNOUSERSITE=1" +set "PYTHONPATH=" +set "PYTHONHOME=" + +"%BASE%python_embeded\python.exe" -s "%BASE%ComfyUI\main.py" --windows-standalone-build --enable-dynamic-vram +pause diff --git a/.ci/windows_intel_base_files/run_intel_gpu.bat b/.ci/windows_intel_base_files/run_intel_gpu.bat index 274d7c948..f33fcd47c 100755 --- a/.ci/windows_intel_base_files/run_intel_gpu.bat +++ b/.ci/windows_intel_base_files/run_intel_gpu.bat @@ -1,2 +1,8 @@ -.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build -pause +set "BASE=%~dp0" + +set "PYTHONNOUSERSITE=1" +set "PYTHONPATH=" +set "PYTHONHOME=" + +"%BASE%python_embeded\python.exe" -s "%BASE%ComfyUI\main.py" --windows-standalone-build +pause diff --git a/.ci/windows_nightly_base_files/run_nvidia_gpu_fast.bat b/.ci/windows_nightly_base_files/run_nvidia_gpu_fast.bat index ca6d6868a..a7cd6ee86 100644 --- a/.ci/windows_nightly_base_files/run_nvidia_gpu_fast.bat +++ b/.ci/windows_nightly_base_files/run_nvidia_gpu_fast.bat @@ -1,2 +1,8 @@ -.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --fast -pause +set "BASE=%~dp0" + +set "PYTHONNOUSERSITE=1" +set "PYTHONPATH=" +set "PYTHONHOME=" + +"%BASE%python_embeded\python.exe" -s "%BASE%ComfyUI\main.py" --windows-standalone-build --fast +pause diff --git a/.ci/windows_nvidia_base_files/advanced/run_nvidia_gpu_disable_api_nodes.bat b/.ci/windows_nvidia_base_files/advanced/run_nvidia_gpu_disable_api_nodes.bat index 4501ef9a1..2e2cd122e 100644 --- a/.ci/windows_nvidia_base_files/advanced/run_nvidia_gpu_disable_api_nodes.bat +++ b/.ci/windows_nvidia_base_files/advanced/run_nvidia_gpu_disable_api_nodes.bat @@ -1,3 +1,9 @@ -..\python_embeded\python.exe -s ..\ComfyUI\main.py --windows-standalone-build --disable-api-nodes -echo If you see this and ComfyUI did not start try updating your Nvidia Drivers to the latest. If you get a c10.dll error you need to install vc redist that you can find: https://aka.ms/vc14/vc_redist.x64.exe -pause +set "BASE=%~dp0" + +set "PYTHONNOUSERSITE=1" +set "PYTHONPATH=" +set "PYTHONHOME=" + +"%BASE%..\python_embeded\python.exe" -s "%BASE%..\ComfyUI\main.py" --windows-standalone-build --disable-api-nodes +echo If you see this and ComfyUI did not start try updating your Nvidia Drivers to the latest. If you get a c10.dll error you need to install vc redist that you can find: https://aka.ms/vc14/vc_redist.x64.exe +pause diff --git a/.ci/windows_nvidia_base_files/run_cpu.bat b/.ci/windows_nvidia_base_files/run_cpu.bat index c3ba41721..073ed1ee8 100755 --- a/.ci/windows_nvidia_base_files/run_cpu.bat +++ b/.ci/windows_nvidia_base_files/run_cpu.bat @@ -1,2 +1,8 @@ -.\python_embeded\python.exe -s ComfyUI\main.py --cpu --windows-standalone-build -pause +set "BASE=%~dp0" + +set "PYTHONNOUSERSITE=1" +set "PYTHONPATH=" +set "PYTHONHOME=" + +"%BASE%python_embeded\python.exe" -s "%BASE%ComfyUI\main.py" --cpu --windows-standalone-build +pause diff --git a/.ci/windows_nvidia_base_files/run_nvidia_gpu.bat b/.ci/windows_nvidia_base_files/run_nvidia_gpu.bat index 6487ac7ce..870db1697 100755 --- a/.ci/windows_nvidia_base_files/run_nvidia_gpu.bat +++ b/.ci/windows_nvidia_base_files/run_nvidia_gpu.bat @@ -1,3 +1,9 @@ -.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build -echo If you see this and ComfyUI did not start try updating your Nvidia Drivers to the latest. If you get a c10.dll error you need to install vc redist that you can find: https://aka.ms/vc14/vc_redist.x64.exe -pause +set "BASE=%~dp0" + +set "PYTHONNOUSERSITE=1" +set "PYTHONPATH=" +set "PYTHONHOME=" + +"%BASE%python_embeded\python.exe" -s "%BASE%ComfyUI\main.py" --windows-standalone-build +echo If you see this and ComfyUI did not start try updating your Nvidia Drivers to the latest. If you get a c10.dll error you need to install vc redist that you can find: https://aka.ms/vc14/vc_redist.x64.exe +pause diff --git a/.ci/windows_nvidia_base_files/run_nvidia_gpu_fast_fp16_accumulation.bat b/.ci/windows_nvidia_base_files/run_nvidia_gpu_fast_fp16_accumulation.bat index 01c5bb33b..e005ffa2f 100644 --- a/.ci/windows_nvidia_base_files/run_nvidia_gpu_fast_fp16_accumulation.bat +++ b/.ci/windows_nvidia_base_files/run_nvidia_gpu_fast_fp16_accumulation.bat @@ -1,3 +1,9 @@ -.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --fast fp16_accumulation -echo If you see this and ComfyUI did not start try updating your Nvidia Drivers to the latest. If you get a c10.dll error you need to install vc redist that you can find: https://aka.ms/vc14/vc_redist.x64.exe -pause +set "BASE=%~dp0" + +set "PYTHONNOUSERSITE=1" +set "PYTHONPATH=" +set "PYTHONHOME=" + +"%BASE%python_embeded\python.exe" -s "%BASE%ComfyUI\main.py" --windows-standalone-build --fast fp16_accumulation +echo If you see this and ComfyUI did not start try updating your Nvidia Drivers to the latest. If you get a c10.dll error you need to install vc redist that you can find: https://aka.ms/vc14/vc_redist.x64.exe +pause