ComfyUI/.ci/windows_intel_base_files/run_intel_gpu.bat
tom-m acb16b9fa4
fix: prevent user-site package leakage
Set environment variables for user profile and cache directories before running the Python script.
2026-05-18 03:16:50 +09:00

15 lines
348 B
Batchfile
Executable File

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"
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
pause