Please include a minimal working example of the code you are using so we can best help.
However, from a quick look at what you’ve posted, it looks like you are using the Torch interface and trying to run on GPUs. Running on GPUs is not fully supported in PennyLane, you can check out previous posts, for example: