Fix minimax music not working on non dynamic vram. (#15588)

This commit is contained in:
comfyanonymous 2026-08-13 12:47:44 -07:00 committed by comfyanonymous
parent 2f35f4a081
commit 842d508575
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def cleanup_prefetch_queues():
GRAPH_CAPTURE_STREAMS = {}
def prefetch_queue_pop(queue, device, module, dtype=None, core=None, enable_graph=False, generator=None):
enable_graph = enable_graph and not args.disable_cuda_graphs and comfy.model_management.is_device_cuda(device)
enable_graph = enable_graph and not args.disable_cuda_graphs and comfy.model_management.is_device_cuda(device) and getattr(module, "_v_block", None) is not None
if queue is None:
if core is not None:
core()