Skip to content

Add map_location when loading model checkpoint #1084

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

Merged
merged 1 commit into from
Oct 18, 2022
Merged

Conversation

subramen
Copy link
Contributor

Fixes #1078 to use map_location when saving and loading models on different devices

@subramen subramen requested a review from hudeven October 18, 2022 15:47
@netlify
Copy link

netlify bot commented Oct 18, 2022

Deploy Preview for pytorch-examples-preview canceled.

Name Link
🔨 Latest commit e1dd867
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-examples-preview/deploys/634ecaac1b4efe00085f9fac

Copy link
Contributor

@hudeven hudeven left a comment

Choose a reason for hiding this comment

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

LGTM

@hudeven hudeven merged commit a8cf0b8 into main Oct 18, 2022
YinZhengxun pushed a commit to YinZhengxun/mt-exercise-02 that referenced this pull request Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The GPU load is unbalanced
3 participants