Skip to content

Commit

Permalink
increase dims
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Oct 11, 2024
1 parent ba95e86 commit 5fe437a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/nn/moe_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
@requires_megablocks
@pytest.mark.parametrize("moe_type", [MoEType.default, MoEType.dropless])
def test_moe(moe_type):
d_model = 64
config = MoEConfig(name=moe_type, hidden_size=256, num_experts=4)
d_model = 128
config = MoEConfig(name=moe_type, hidden_size=512, num_experts=4)
moe = config.build(d_model=d_model, init_device="cuda")

# Check num params calculation.
Expand Down

0 comments on commit 5fe437a

Please sign in to comment.