Dockerfile install tensorrt-cu12==10.1.0 (#14240)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
209f90b35c
commit
19a2d0a4b0
3 changed files with 6 additions and 3 deletions
|
|
@ -688,7 +688,8 @@ class Exporter:
|
|||
if LINUX:
|
||||
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
|
||||
check_version(trt.__version__, ">=7.0.0", hard=True)
|
||||
check_version(trt.__version__, "<=10.1.0", msg="https://github.com/ultralytics/ultralytics/pull/14239")
|
||||
|
||||
# Setup and checks
|
||||
LOGGER.info(f"\n{prefix} starting export with TensorRT {trt.__version__}...")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue