RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:7 and cuda:0!

rohitdiwane
Tue, 25 Mar 2025 14:41:21 +0000

John6666:

transformers==4.49.0

thanks! its work for me