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

Fix bug in torch.load to map the storage to user's device #13

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

HangJung97
Copy link
Member

What does this PR do?

Fix bug in torch.load to map the storage to user's device when loading the pretrained weight trained on a different device.

Before submitting

  • Did you make sure title is self-explanatory and the description concisely explains the PR?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you run pre-commit hooks with pre-commit run -a command?

Did you have fun?

Make sure you had fun coding 🙃

@HangJung97 HangJung97 added the bug Something isn't working label Oct 12, 2023
@HangJung97 HangJung97 self-assigned this Oct 12, 2023
@HangJung97 HangJung97 merged commit 636536a into main Oct 12, 2023
1 check passed
@HangJung97 HangJung97 deleted the feature/bugfix branch October 12, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant