Update comfyui.bat with new command line argument

Added '--disable-pinned-memory' argument to improve compatibility for ZLUDA users.
This commit is contained in:
patientx 2025-12-09 16:06:03 +03:00 committed by GitHub
parent 6c552d07ef
commit fdee4dd8e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,9 +4,10 @@ set "PYTHON=%~dp0venv\Scripts\python.exe"
set "GIT="
set "VENV_DIR=.\venv"
set "COMMANDLINE_ARGS=--auto-launch --use-quad-cross-attention --reserve-vram 0.9 --disable-async-offload"
set "COMMANDLINE_ARGS=--auto-launch --use-quad-cross-attention --reserve-vram 0.9 --disable-async-offload --disable-pinned-memory"
:: "--disable-async-offload" added because of this : ComfyUI has added async weight offloading by default, not compatible with older GPUs, try without it , if it works you are good."
:: "--disable-async-offload" added because of this : ComfyUI has added async weight offloading by default, not compatible with older GPUs, try without it , if it works you are good.
:: "--disable-pinned-memory" added because it seems to be causing problems for many zluda users old and new.
set "ZLUDA_COMGR_LOG_LEVEL=1"
@ -152,3 +153,4 @@ echo.
pause