Skip to content

Fix Evo2 checkpoint backward compatibility#14914

Merged
jstjohn merged 5 commits intoNVIDIA-NeMo:mainfrom
farhadrgh:farhadr/evo2_update
Oct 28, 2025
Merged

Fix Evo2 checkpoint backward compatibility#14914
jstjohn merged 5 commits intoNVIDIA-NeMo:mainfrom
farhadrgh:farhadr/evo2_update

Conversation

@farhadrgh
Copy link
Contributor

@farhadrgh farhadrgh commented Oct 10, 2025

What does this PR do ?

Fixes the case where you train an evo2 model with subquadratic ops on an older nemo version, and want to load that checkpoint into a newer nemo version.

Collection: llm -> gpt -> hyena

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

Signed-off-by: Farhad Ramezanghorbani <farhadr@nvidia.com>
jstjohn
jstjohn previously approved these changes Oct 10, 2025
Signed-off-by: Farhad Ramezanghorbani <farhadr@nvidia.com>
@jstjohn jstjohn merged commit 231e758 into NVIDIA-NeMo:main Oct 28, 2025
194 of 195 checks passed
@farhadrgh farhadrgh deleted the farhadr/evo2_update branch October 29, 2025 17:09
quapham pushed a commit to quapham/NeMo that referenced this pull request Dec 16, 2025
* fix checkpoint backward compatibility

Signed-off-by: Farhad Ramezanghorbani <farhadr@nvidia.com>

* fix tests

Signed-off-by: Farhad Ramezanghorbani <farhadr@nvidia.com>

---------

Signed-off-by: Farhad Ramezanghorbani <farhadr@nvidia.com>
Signed-off-by: quanpham <youngkwan199@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants