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
because the default for FishLeg.__init__() is to use the cpu, but when using mps or cuda (as is supported in the tutorial) this does not function because the tensors end up on seperate devices resulting in this error
Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
or alternatively
Expected all tensors to be on the same device, but found at least two devices, mps and cpu!
this fix has been tested on cuda and cpu, i would appreciate someone checking this on mps
The text was updated successfully, but these errors were encountered:
needs to include
device=device
so it becomes
because the default for
FishLeg.__init__()
is to use the cpu, but when using mps or cuda (as is supported in the tutorial) this does not function because the tensors end up on seperate devices resulting in this erroror alternatively
this fix has been tested on cuda and cpu, i would appreciate someone checking this on mps
The text was updated successfully, but these errors were encountered: