NVIDIA-NeMo / NVIDIA-NeMo/Automodel

TE RMS Norm numerical Instability

Open
#1,432 1 comment 0 reactions 1 assignee View on GitHub

@ZhiyuLi-Nvidia is already working on this.

Since Mar 3, 2026.

bug
Dominant language
Python
Stars
963
Forks
318
Avg merge
3d 20h
Merged PRs (30d)
143

Description

Describe the bug

Found TE RMS Norm is numerical instable in experiments. Discover the right version/setup for better accuracy.

Steps/Code to reproduce bug

Examples:

The above 2 exps is valid and convergent only with TE RMS Norm disable.

A helpful guide on on how to craft a minimal bug report http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports.

Expected behavior

Match convergence with TE RMS Norm enabled.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.