Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

#718
Open
AbhishekGiri04 wants to merge 1 commit into
google-deepmind:maingoogle-deepmind/gemma:mainfrom
AbhishekGiri04:fix/rmsnorm-gpu-toleranceAbhishekGiri04/gemma:fix/rmsnorm-gpu-toleranceCopy head branch name to clipboard
Open

tests: relax RMSNorm tolerance to fix GPU precision failures#718
AbhishekGiri04 wants to merge 1 commit into
google-deepmind:maingoogle-deepmind/gemma:mainfrom
AbhishekGiri04:fix/rmsnorm-gpu-toleranceAbhishekGiri04/gemma:fix/rmsnorm-gpu-toleranceCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.