ops: tolerate already force casted dynamic weight (#14410) · code/app-python-comfyui@bda19b2 · GitHub
Skip to content

Commit bda19b2

Browse files
authored
ops: tolerate already force casted dynamic weight (Comfy-Org#14410)
Some custom nodes .to weights completely out of load context which can wreak havoc if its for a model that is not active. Detect this condition and just let it fall-through to the non-dynamic loader straight up.
1 parent 33e6ebd commit bda19b2

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎comfy/ops.py‎

Lines changed: 8 additions & 8 deletions

0 commit comments

Comments
 (0)