Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hack to load old distributed optimizer checkpoints #1602

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timmoon10
Copy link
Contributor

The optimizer state in DistributedFusedAdam was modified in #1551, making older checkpoints incompatible. Fortunately, the only differences are for buffer bookkeeping and they can be recomputed easily.

This is intended as a quick workaround until we've retrained NeMo models with more recent containers. Any checkpoint handled by this PR likely doesn't have the performance optimizations from NVIDIA/NeMo#5560.

Handles checkpoints generated before NVIDIA#1551.
@crcrpar crcrpar added this to the 23.04 milestone Mar 7, 2023
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