You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pyproject.toml
+44-26Lines changed: 44 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,13 @@ requires = [
8
8
"cffi>=1.15.1",
9
9
"typing-extensions>=4.7.0",
10
10
"future>=0.18.3",
11
-
"tensorrt-cu12>=10.11.0,<10.12.0; 'tegra' not in platform_release",
12
-
"tensorrt>=10.3.0,<10.4.0; 'tegra' in platform_release",
13
-
"torch>=2.8.0.dev,<2.9.0; 'tegra' not in platform_release",
14
-
"torch>=2.7.0,<2.8.0; 'tegra' in platform_release",
11
+
"tensorrt-cu12>=10.11.0,<10.12.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
12
+
"tensorrt-cu12>=10.3.0,<10.4.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
13
+
"torch>=2.8.0.dev,<2.9.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
14
+
"torch>=2.7.0,<2.8.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
15
15
"pybind11==2.6.2",
16
-
"numpy; 'tegra' not in platform_release",
17
-
"numpy<2.0.0; 'tegra' in platform_release",
16
+
"numpy; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
17
+
"numpy<2.0.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
18
18
"sympy",
19
19
"dllist",
20
20
]
@@ -59,20 +59,23 @@ keywords = [
59
59
"inference",
60
60
]
61
61
dependencies = [
62
-
"torch>=2.8.0.dev,<2.9.0; 'tegra' not in platform_release",
63
-
"torch>=2.7.0,<2.8.0; 'tegra' in platform_release",
62
+
"torch>=2.8.0.dev,<2.9.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
63
+
"torch>=2.7.0,<2.8.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
64
64
65
-
"tensorrt>=10.11.0,<10.12.0; 'tegra' not in platform_release",
66
-
"tensorrt>=10.3.0,<10.4.0; 'tegra' in platform_release",
65
+
"tensorrt>=10.11.0,<10.12.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
66
+
"tensorrt-cu12>=10.11.0,<10.12.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
67
+
"tensorrt-cu12-bindings>=10.11.0,<10.12.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
68
+
"tensorrt-cu12-libs>=10.11.0,<10.12.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
67
69
68
-
"tensorrt-cu12>=10.11.0,<10.12.0; 'tegra' not in platform_release",
69
-
"tensorrt-cu12-bindings>=10.11.0,<10.12.0; 'tegra' not in platform_release",
70
-
"tensorrt-cu12-libs>=10.11.0,<10.12.0; 'tegra' not in platform_release",
70
+
"tensorrt>=10.3.0,<10.4.0;platform_machine == 'aarch64' and 'tegra' in platform_release",
71
+
"tensorrt-cu12>=10.3.0,<10.4.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
72
+
"tensorrt-cu12-bindings>=10.3.0,<10.4.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
73
+
"tensorrt-cu12-libs>=10.3.0,<10.4.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
71
74
72
75
"packaging>=23",
73
76
74
-
"numpy; 'tegra' not in platform_release",
75
-
"numpy<2.0.0; 'tegra' in platform_release",
77
+
"numpy; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
78
+
"numpy<2.0.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
76
79
77
80
"typing-extensions>=4.7.0",
78
81
"dllist",
@@ -89,10 +92,6 @@ dev = [
89
92
"mypy",
90
93
"isort",
91
94
"ruff",
92
-
"pytest",
93
-
"pytest-xdist",
94
-
"parameterized>=0.2.0",
95
-
"expecttest==0.1.6",
96
95
"pyyaml",
97
96
]
98
97
@@ -102,13 +101,21 @@ debug = [
102
101
"graphviz >= 0.20.3"
103
102
]
104
103
104
+
test = [
105
+
"pytest",
106
+
"pytest-xdist",
107
+
"parameterized>=0.2.0",
108
+
"expecttest==0.1.6",
109
+
"timm>=1.0.3",
110
+
"transformers>=4.49.0",
111
+
]
112
+
105
113
[project.optional-dependencies]
106
114
torchvision = [
107
-
"torchvision",
108
-
] #Leaving torchvisions dependency unconstrained so uv can just install something that should work for the torch we have. TV's on PyT makes it hard to put version constrains in
115
+
"torchvision>=0.23.0.dev,<0.24.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
116
+
"torchvision>=0.22.0,<0.23.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
0 commit comments