Fix minimax music not working on non dynamic vram. (#15588)
This commit is contained in:
parent
2f35f4a081
commit
03fa4e48ba
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue