Skip to content

Commit

Permalink
relax abs in mixtral tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vremold committed Apr 10, 2024
1 parent 8c8590b commit 91ca7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/model/mixtral/test_mixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def compare_model_weights(self, base_model, model):
continue
if isinstance(param, DTensor):
param = param.redistribute(param.device_mesh, [Replicate()], async_op=False)._local_tensor
torch.testing.assert_close(param, base_param, atol=1e-4, rtol=1e-4)
torch.testing.assert_close(param, base_param, atol=2e-4, rtol=2e-4)

@skip_unless_torch_gpu
@with_comms
Expand Down

0 comments on commit 91ca7db

Please sign in to comment.