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

Checkpoint and ModelCheckpoint automatically saves base model for DDP wrapper #750

Closed
vfdev-5 opened this issue Jan 30, 2020 · 0 comments · Fixed by #1086
Closed

Checkpoint and ModelCheckpoint automatically saves base model for DDP wrapper #750

vfdev-5 opened this issue Jan 30, 2020 · 0 comments · Fixed by #1086

Comments

@vfdev-5
Copy link
Collaborator

vfdev-5 commented Jan 30, 2020

Idea is to avoid saving DDP wrapped model with Checkpoint/ModelCheckpoint classes and save instead its base model. Such that state dictionary wont contain prefix module. in the keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant