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 device for checkpoint loading #381

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Fix device for checkpoint loading #381

merged 1 commit into from
Nov 11, 2024

Conversation

frostedoyster
Copy link
Collaborator

@frostedoyster frostedoyster commented Nov 6, 2024

Fixes #312. Very useful when trying to export a model that was trained on CUDA while not being on a compute node


📚 Documentation preview 📚: https://metatrain--381.org.readthedocs.build/en/381/

@abmazitov
Copy link
Contributor

Thank you @frostedoyster , this was indeed an annoying bug, I faced myself many times. Everything looks good to me, so feel free to merge as it's ready

@frostedoyster frostedoyster merged commit f6d4b64 into main Nov 11, 2024
13 checks passed
@frostedoyster frostedoyster deleted the map-location branch November 11, 2024 14:40
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.

Checkpointing is CUDA-specific (?)
2 participants