Skip to content

Commit

Permalink
rms_norm : relax tolerances
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitij12345 committed Nov 4, 2024
1 parent 6341444 commit 61ed8b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions thunder/tests/opinfos.py
Original file line number Diff line number Diff line change
Expand Up @@ -7692,6 +7692,12 @@ def rms_norm_error_generator(op, device, **kwargs):
dtypes=(datatypes.float16,),
devicetypes=(devices.DeviceType.CPU,),
),
# See issue - https://github.com/Lightning-AI/lightning-thunder/issues/1395
DecorateInfo(
custom_comparator(partial(assert_close, atol=2e-3, rtol=2e-3)),
dtypes=(datatypes.float16),
devicetypes=(devices.DeviceType.CUDA),
),
),
)
nn_ops.append(rms_norm_opinfo)
Expand Down

0 comments on commit 61ed8b1

Please sign in to comment.