yeandy commented on issue #21438:
URL: https://github.com/apache/beam/issues/21438#issuecomment-1238532875

   Clarification on this issue:
   
   PyTorch RunInference converts data and model to GPU by using the 
[tensor.to(device)](https://pytorch.org/docs/stable/generated/torch.Tensor.to.html)
 command to move a tensor to a device. We also do implicit GPU -> CPU 
conversion if GPU doesn't exist in the worker.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to