Docker download onnxruntime-gpu 1.15.1 for Jetson Linux 35.2.1 (#10389)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: hdnh2006 <henry.matucv@gmail.com>
This commit is contained in:
Henry 2024-05-01 16:17:54 +02:00 committed by GitHub
parent 6beccb6b5e
commit b01fcd943f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View file

@ -419,7 +419,14 @@ def check_torchvision():
"""
# Compatibility table
compatibility_table = {"2.0": ["0.15"], "1.13": ["0.14"], "1.12": ["0.13"]}
compatibility_table = {
"2.3": ["0.18"],
"2.2": ["0.17"],
"2.1": ["0.16"],
"2.0": ["0.15"],
"1.13": ["0.14"],
"1.12": ["0.13"],
}
# Extract only the major and minor versions
v_torch = ".".join(torch.__version__.split("+")[0].split(".")[:2])