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
# on a cpu only device:
Model.load_from_checkpoint("GPU_CHECKPOINT_FILE")
Expected behavior
AssertionError: Torch not compiled with CUDA enabled
Desktop (please complete the following information):
weird, i thought we did. mind submitting a PR?
Sure will do.
Most helpful comment
weird, i thought we did. mind submitting a PR?