We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Current load_from_checkpoint function does not support to load a gpu checkpoint on cpu devices, i.e. map the location.
load_from_checkpoint
To Reproduce
# on a cpu only device: Model.load_from_checkpoint("GPU_CHECKPOINT_FILE")
Expected behavior AssertionError: Torch not compiled with CUDA enabled
AssertionError: Torch not compiled with CUDA enabled
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
weird, i thought we did. mind submitting a PR?
Sorry, something went wrong.
Sure will do.
This appears to still be unresolved, currently using Lightning 2.3.0.
Successfully merging a pull request may close this issue.
Describe the bug
Current
load_from_checkpoint
function does not support to load a gpu checkpoint on cpu devices, i.e. map the location.To Reproduce
Expected behavior
AssertionError: Torch not compiled with CUDA enabled
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: