Pin tensorrt<=10.1.0 to fix libnvinfer_builder_resource_win.so.10.2.0 error (#14239)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
26a664f636
commit
209f90b35c
7 changed files with 7 additions and 8 deletions
|
|
@ -225,7 +225,7 @@ class AutoBackend(nn.Module):
|
|||
import tensorrt as trt # noqa https://developer.nvidia.com/nvidia-tensorrt-download
|
||||
except ImportError:
|
||||
if LINUX:
|
||||
check_requirements("tensorrt", cmds="-U")
|
||||
check_requirements("tensorrt>7.0.0,<=10.1.0")
|
||||
import tensorrt as trt # noqa
|
||||
check_version(trt.__version__, "7.0.0", hard=True) # require tensorrt>=7.0.0
|
||||
if device.type == "cpu":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue