Skip to content

[ConvNets/PyT] Fixed distributed checkpoint loading - #693

Merged
nv-kkudrynski merged 1 commit into
NVIDIA:masterfrom
hXl3s:RN50/ngc-checkpoint-update
Sep 18, 2020
Merged

[ConvNets/PyT] Fixed distributed checkpoint loading#693
nv-kkudrynski merged 1 commit into
NVIDIA:masterfrom
hXl3s:RN50/ngc-checkpoint-update

Conversation

@hXl3s

@hXl3s hXl3s commented Sep 18, 2020

Copy link
Copy Markdown
Contributor

Pytorch DDP model checkpoints contain "model." prefix.
This makes keys to mismatch during loading the checkpoint.

This fix removes the prefix if exists during load, allowing to use NGC checkpoints.

@hXl3s hXl3s changed the title Fixed distributed checkpoint loading [ConvNets/PyT] Fixed distributed checkpoint loading Sep 18, 2020
@nv-kkudrynski
nv-kkudrynski merged commit 94518be into NVIDIA:master Sep 18, 2020
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