ComfyUI/.ci/windows_amd_base_files/run_amd_gpu.bat
tom-m 8e51ecb297
fix: prevent user-site package leakage
Set environment variables for user profile and cache paths before running the Python script.
2026-05-18 03:17:33 +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