BUG: RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu
peterdudfield opened this issue · 0 comments
peterdudfield commented
Describe the bug
test_loss.py fails when running on Leonardo (a machine with GPU)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
To Reproduce
Steps to reproduce the behavior:
- Log onto Leonardo (or other machine with GPU)
- clone repo
- run pytest