azhurkevich commented on code in PR #22131:
URL: https://github.com/apache/beam/pull/22131#discussion_r917010740


##########
sdks/python/apache_beam/ml/inference/tensorrt_inference.py:
##########
@@ -19,7 +19,6 @@
 
 import numpy as np
 import os
-import pycuda.autoinit

Review Comment:
   @yeandy I would advise against deleting this line. 
[Autoinit](https://documen.tician.de/pycuda/util.html) automatically performs 
all the steps necessary to get CUDA ready to execute compute kernels. You would 
get this if you take it out:
   
![image](https://user-images.githubusercontent.com/101208641/178040411-040e82d9-b148-4891-87eb-2d93b8c2bc24.png)
   



-- 
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