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
Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:1! (when checking argument for argument index in method wrapper_CUDA__index_select)
#209
Open
sowmaster opened this issue
Jan 25, 2025
· 0 comments
Hi, I run the dpo code with the exact configuration provided for zephyr-7b-beta to reproduce the model zephyr-7b-dpo-full. But I am getting the following error:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)
Looks like either the model or data was not sent to cuda. What could be wrong? Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I run the dpo code with the exact configuration provided for zephyr-7b-beta to reproduce the model zephyr-7b-dpo-full. But I am getting the following error:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)
Looks like either the model or data was not sent to cuda. What could be wrong? Thank you.
The text was updated successfully, but these errors were encountered: