Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 committed Apr 9, 2024
1 parent e3f942f commit 473761f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/models/layers/test_dmoe.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,4 @@ def test_fwd_equal_dmoe(seqlen: int, precision: str, mlp_type: str):
with context:
mpt_logits = mb_dmoe_model(token_ids).logits
db_logits = torch_dmoe_model(token_ids).logits
assert mb_allclose(mpt_logits,
db_logits,
rtol=0.005,
atol=0.01,
verbose=True)
assert mb_allclose(mpt_logits, db_logits)

0 comments on commit 473761f

Please sign in to comment.