It seems to me, that the weights you are trying to load, are loaded onto the GPU and your model is on the CPU, try to load the weights onto the CPU.
Here is how you load it correctly onto the CPU:
model.load_state_dict(torch.load('/path/to/weights.pt', map_location='cpu'))