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 mat1 in method wrapper_addmm) #573
Labels
bug
Something isn't working
Environment info
adapter-transformers
version: 3.2.1Details
Hello ! I have trained a model with adapter-hub and saved the checkpoints. However when I try to resume the training I have the following error:
I checked and inputs and model are correctly on cuda.
The traceback is the following:
and my code is this:
I have tried everything. Any ideas how to resume successfully the training? Thanks a lot!
The text was updated successfully, but these errors were encountered: