try to add a number on it if you have multiple GPUs. It should start at 0 (I think)
Try something like x.to("cuda:1")
x.to("cuda:1")