Solved by Dwight_Foster in post #12 
              
              
                Did you put test data and train data on the gpu like this 
train_data = train_data.to(device)
test_data = test_data.to(device)
```?
Can you send your train loop too?