You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an issue when trying to perform a training run on the GPU, which appeared to be caused by reference and predicted data being stored on different devices leading to errors like RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu).
I can fix this by explicitly allocating the reference data (energies, forces and coords) to the GPU (
I had an issue when trying to perform a training run on the GPU, which appeared to be caused by reference and predicted data being stored on different devices leading to errors like
RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)
.I can fix this by explicitly allocating the reference data (energies, forces and coords) to the GPU (
descent/descent/targets/energy.py
Line 110 in 92a1396
but likely something smarter is needed that can deal with CPU/GPU runs.
The text was updated successfully, but these errors were encountered: