How can I bind torch tensor in GPU as input and output? #22435
Replies: 1 comment
-
ah, I forgot to put the tensor to .cuda() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I follow the instruction described in #10217
But I get cuda failure:
Can anyone point out what I did wrong? or what is the correct way to use torch tensor in GPU?
Beta Was this translation helpful? Give feedback.
All reactions