Skip to content

Commit f53112d

Browse files
committed
change in embeddings_flax.py
1 parent fb8e0a5 commit f53112d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/models/embeddings_flax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def __call__(self, caption, timestep):
521521
timesteps_proj = self.time_proj(timestep)
522522
timesteps_emb = self.emb.timestep_embedder(timesteps_proj)
523523

524-
return hidden_states + timesteps_emb
524+
return hidden_states + timesteps_emb[:, None, :]
525525

526526

527527
class CombinedTimestepGuidanceTextProjEmbeddings(nn.Module):

0 commit comments

Comments
 (0)