We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ea6788 commit d0f57ebCopy full SHA for d0f57eb
1 file changed
tests/unit_tests/megatron/model/flux/test_flux_layers.py
@@ -224,7 +224,7 @@ def test_timestepembedder_initialization(self):
224
embedder = TimeStepEmbedder(embedding_dim, hidden_dim)
225
226
assert isinstance(embedder.time_embedder, MLPEmbedder)
227
- assert embedder.time_proj.embedding_dim == embedding_dim
+ assert embedder.time_proj.num_channels == embedding_dim
228
229
def test_timestepembedder_forward_shape(self):
230
"""Test TimeStepEmbedder forward pass output shape."""
0 commit comments