File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- -f https://download.pytorch.org/whl/torch_stable.html
2
- -f https://download.pytorch.org/whl/torch/
3
1
--extra-index-url https://download.pytorch.org/whl/cu113
4
- torch == 1.11.0+cu113
2
+ torch == 1.11.0
5
3
pybind11 == 2.6.2
Original file line number Diff line number Diff line change 1
1
from torch_tensorrt import __version__
2
2
from torch_tensorrt import _C
3
3
4
+ import torch
5
+
4
6
5
7
def dump_build_info ():
6
8
"""Prints build information about the torch_tensorrt distribution to stdout
@@ -15,7 +17,9 @@ def get_build_info() -> str:
15
17
str: String containing the build information for torch_tensorrt distribution
16
18
"""
17
19
build_info = _C .get_build_info ()
18
- build_info = "Torch-TensorRT Version: " + str (__version__ ) + '\n ' + build_info
20
+ build_info = "Torch-TensorRT Version: " + str (__version__ ) + '\n ' \
21
+ + "Using PyTorch Version: " + str (torch .__version__ ) + '\n ' \
22
+ + build_info
19
23
return build_info
20
24
21
25
You can’t perform that action at this time.
0 commit comments