Skip to content

Commit

Permalink
fix accidentally removed autoinit for pycuda
Browse files Browse the repository at this point in the history
  • Loading branch information
danielS91 committed Dec 8, 2020
1 parent c449b36 commit d132c41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inference_time_whole_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ def time_inference_onnxruntime(onnx_filepath,

if args.time_tensorrt:
import tensorrt as trt
import pycuda.autoinit
import pycuda.driver as cuda

print('TensorRT version:', trt.__version__)
Expand Down

0 comments on commit d132c41

Please sign in to comment.