Skip to content

fixing longmt_eval bug introduced by #03d9d9b - #1941

Merged
jeffwillette merged 2 commits into
NVIDIA-NeMo:mainfrom
jeffwillette:fix-longmt-requirements
Jul 7, 2026
Merged

jeffwillette merged 2 commits into
NVIDIA-NeMo:mainfrom
jeffwillette:fix-longmt-requirements

Conversation

@jeffwillette

Copy link
Copy Markdown
Contributor

torch version bump caused model loading errors
vecalign 2.0.0 was also released which changed dependency structure

@copy-pr-bot

copy-pr-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ananthsub ananthsub left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeffwillette is there any test we can add for future version bumps? how did you detect + resolve the issue down to the dependency update?

@jeffwillette
jeffwillette force-pushed the fix-longmt-requirements branch 2 times, most recently from f24c512 to 4329de8 Compare July 6, 2026 23:11
torch version bump caused model loading errors
vecalign 2.0.0 was also released which changed dependency structure
added test for ersatz weights_only load

Signed-off-by: Jeff Willette <[email protected]>
@jeffwillette
jeffwillette force-pushed the fix-longmt-requirements branch from 9ad78ff to 7b6c139 Compare July 7, 2026 20:35

Copy link
Copy Markdown
Contributor Author

I added a test for it which was just pushed. This was caused by bumping the pinned torch version in the resources_server requirements.txt. The torch.load API changed for torch>2.6 to use a default kwarg of weights_only=True which caused a failure with a legacy dependency (ersatz).

I updated a maintained fork of the dependecy to a new pinned version and added a stubbed test for the model loading.

@jeffwillette
jeffwillette enabled auto-merge (squash) July 7, 2026 21:29
@jeffwillette
jeffwillette merged commit 711e484 into NVIDIA-NeMo:main Jul 7, 2026
8 checks passed
@jeffwillette
jeffwillette deleted the fix-longmt-requirements branch July 7, 2026 21:37
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.

2 participants