From fdee4dd8e938f7681a43f4851defaf0ee9805dd4 Mon Sep 17 00:00:00 2001 From: patientx Date: Tue, 9 Dec 2025 16:06:03 +0300 Subject: [PATCH] Update comfyui.bat with new command line argument Added '--disable-pinned-memory' argument to improve compatibility for ZLUDA users. --- comfyui.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/comfyui.bat b/comfyui.bat index 0ff3b5cf6..5ce134c5f 100644 --- a/comfyui.bat +++ b/comfyui.bat @@ -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 +