The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix crash when using UNetSelfAttentionMultiply (#14823)
comfyanonymousffbecfffb953
diff --git a/comfy/ops.py b/comfy/ops.pyindex 69d32e254..35a1ee31e 100644--- a/comfy/ops.py+++ b/comfy/ops.py@@ -174,6 +174,8 @@ def cast_modules_with_vbar(comfy_modules, dtype, device, bias_dtype, non_blockinelif xfer_dest2 is not None:xfer_source.prepare(xfer_dest2, stream, copy=True, commit=False)return+ else:+ returncomfy.model_management.cast_to_gathered(xfer_source, xfer_dest, non_blocking=non_blocking, stream=stream, r2=xfer_dest2)def handle_pin(m, pin, source, dest, subset="weights", size=None):