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 another issue with the PR. (#9170)
comfyanonymous03895dea7c4a
diff --git a/comfy/model_base.py b/comfy/model_base.pyindex 2db81e244..a06686436 100644--- a/comfy/model_base.py+++ b/comfy/model_base.py@@ -162,7 +162,7 @@ class BaseModel(torch.nn.Module):xc = self.model_sampling.calculate_input(sigma, x)if c_concat is not None:- xc = torch.cat([xc] + [c_concat], dim=1)+ xc = torch.cat([xc] + [comfy.model_management.cast_to_device(c_concat, xc.device, xc.dtype)], dim=1)context = c_crossattndtype = self.get_dtype()