From the first error you can see, that now both tensors are on the same device, but model want a tensor in half precision (HalfTensor). You should cast input to this type, I believe. Look here 57 for some reasoning.
In short (on modern version of pytorch) you need:
from  torch.cuda.amp import autocast
with autocast():
    outputs = model.forward(tensor)

Hope this helps.