ComfyUI-MultiGPU icon indicating copy to clipboard operation
ComfyUI-MultiGPU copied to clipboard

CUDA illegal memory access with llama.cpp-backed text encoders on non-primary GPUs

Open rgibson2525-afk opened this issue 2 months ago • 0 comments

comfy_kitchen >= 0.2.35 handles cross-device DLPack natively; the _wrap_for_dlpack staging patch causes CUDA illegal memory access with llama.cpp-backed text encoders on non-primary GPUs. Disabling the patch fixes it.

Workaround until this is fixed: sed -i 's/^_patch_comfy_kitchen_dlpack_device_guard()$/# _patch_comfy_kitchen_dlpack_device_guard()/' custom_nodes/comfyui-multigpu/__init__.py

rgibson2525-afk avatar Sep 19 '26 12:09 rgibson2525-afk