From 1a86965dd562db1d8350f23db4d38549ec29c89b Mon Sep 17 00:00:00 2001 From: tom-m <61305041+Tom-M-Git@users.noreply.github.com> Date: Mon, 18 May 2026 12:26:50 +0900 Subject: [PATCH] removed cache dir reset and make code more consistent Removed user profile cache environment variable settings from the script. --- .../advanced/run_nvidia_gpu_disable_api_nodes.bat | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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 e0c8a7e10..d55ad6765 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,14 +1,8 @@ set "BASE=%~dp0" -set PYTHONNOUSERSITE=1 -set PYTHONPATH= -set PYTHONHOME= - -set "USERPROFILE=%BASE%user_profile_cache" -set "HOME=%BASE%user_profile_cache" - -set "HF_HOME=%BASE%user_profile_cache\huggingface" -set "TORCH_HOME=%BASE%user_profile_cache\torch" +set "PYTHONNOUSERSITE=1" +set "PYTHONPATH=" +set "PYTHONHOME=" ..\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