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 potential rope issue. (#9710)
comfyanonymous72855db71509
diff --git a/comfy/ldm/audio/dit.py b/comfy/ldm/audio/dit.pyindex 179c5b67e..d0d69bbdc 100644--- a/comfy/ldm/audio/dit.py+++ b/comfy/ldm/audio/dit.py@@ -632,7 +632,7 @@ class ContinuousTransformer(nn.Module):# Attention layersif self.rotary_pos_emb is not None:- rotary_pos_emb = self.rotary_pos_emb.forward_from_seq_len(x.shape[1], dtype=x.dtype, device=x.device)+ rotary_pos_emb = self.rotary_pos_emb.forward_from_seq_len(x.shape[1], dtype=torch.float, device=x.device)else:rotary_pos_emb = None