1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00

remove guidance from embeddings

This commit is contained in:
Edna
2025-06-11 20:47:59 -06:00
committed by GitHub
parent e31c94866d
commit 406ab3b1e9

View File

@@ -1647,9 +1647,7 @@ class CombinedTimestepTextProjChromaEmbeddings(nn.Module):
persistent=False,
)
def forward(
self, timestep: torch.Tensor, guidance: Optional[torch.Tensor]
) -> torch.Tensor:
def forward(self, timestep: torch.Tensor) -> torch.Tensor:
mod_index_length = self.mod_proj.shape[0]
timesteps_proj = self.time_proj(timestep).to(dtype=timestep.dtype)