Skip to content

tests: relax RMSNorm tolerance to fix GPU precision failures#718

Open
AbhishekGiri04 wants to merge 1 commit into
google-deepmind:mainfrom
AbhishekGiri04:fix/rmsnorm-gpu-tolerance
Open

tests: relax RMSNorm tolerance to fix GPU precision failures#718
AbhishekGiri04 wants to merge 1 commit into
google-deepmind:mainfrom
AbhishekGiri04:fix/rmsnorm-gpu-tolerance

Conversation

@AbhishekGiri04

Copy link
Copy Markdown

Fixes #32

Replaced assert_array_equal with assert_allclose(rtol=1e-5, atol=1e-5) in test_rmsnorm to handle floating point precision differences on NVIDIA GPUs (V100/A100).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with unit tests on NVIdia V100 (GPU)

1 participant