mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-14 13:48:36 +08:00
Fix minimax music not working on non dynamic vram. (#15588)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user