ultralytics 8.3.19 TensorRT 10.5.0 support (#17076)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
71624018e2
commit
767aa1cacc
4 changed files with 7 additions and 7 deletions
|
|
@ -691,10 +691,10 @@ class Exporter:
|
|||
import tensorrt as trt # noqa
|
||||
except ImportError:
|
||||
if LINUX:
|
||||
check_requirements("tensorrt>7.0.0,<=10.1.0")
|
||||
check_requirements("tensorrt>7.0.0,!=10.1.0")
|
||||
import tensorrt as trt # noqa
|
||||
check_version(trt.__version__, ">=7.0.0", hard=True)
|
||||
check_version(trt.__version__, "<=10.1.0", msg="https://github.com/ultralytics/ultralytics/pull/14239")
|
||||
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