Skip to content

Commit

Permalink
modify atol and rtol
Browse files Browse the repository at this point in the history
  • Loading branch information
POI-WX committed Jan 9, 2025
1 parent 5565fbc commit c39b8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/internevo/test_rotary_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_ApplyRotaryEmb():
in_place,
)
assert allclose(
output_ref, output_ext, rtol=1e-2, atol=5e-2
output_ref, output_ext
), f"When input dtype is {input_dtype} and in_place is {in_place}, ApplyRotaryEmb fails to pass the forward test!"
assert allclose(
grad_ref, grad_ext
Expand Down

0 comments on commit c39b8c5

Please sign in to comment.