Skip to content

Commit 2dcf9f5

Browse files
committed
chore: Update lock file, was getting stuck and causing build issues for folks locally
1 parent 95aad4b commit 2dcf9f5

File tree

3 files changed

+1882
-1857
lines changed

3 files changed

+1882
-1857
lines changed

pyproject.toml

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ requires = [
66
"ninja>=1.11.0",
77
"pyyaml>=6.0",
88
"cffi>=1.15.1",
9-
"torch>=2.10.0.dev,<2.11.0; platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)",
10-
"torch>=2.8.0,<2.9.0; platform_machine == 'aarch64' and 'tegra' in platform_release",
9+
"torch>=2.10.0.dev,<2.11.0",
1110
"pybind11==2.6.2",
1211
]
1312
build-backend = "setuptools.build_meta"
@@ -33,7 +32,7 @@ classifiers = [
3332
"Topic :: Software Development :: Libraries",
3433
]
3534
readme = { file = "README.md", content-type = "text/markdown" }
36-
requires-python = ">=3.9"
35+
requires-python = ">=3.10"
3736
keywords = [
3837
"pytorch",
3938
"torch",
@@ -100,12 +99,10 @@ index-strategy = "unsafe-best-match"
10099

101100
[tool.uv.sources]
102101
torch = [
103-
{ index = "pytorch-nightly-cu130", marker = "platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)" },
104-
{ index = "jetson-containers", marker = "platform_machine == 'aarch64' and 'tegra' in platform_release" },
102+
{ index = "pytorch-nightly-cu130" },
105103
]
106104
torchvision = [
107-
{ index = "pytorch-nightly-cu130", marker = "platform_machine != 'aarch64' or (platform_machine == 'aarch64' and 'tegra' not in platform_release)" },
108-
{ index = "jetson-containers", marker = "platform_machine == 'aarch64' and 'tegra' in platform_release" },
105+
{ index = "pytorch-nightly-cu130" },
109106
]
110107

111108
[[tool.uv.index]]
@@ -114,50 +111,55 @@ url = "https://download.pytorch.org/whl/nightly/cu130"
114111
explicit = false
115112

116113
[[tool.uv.index]]
117-
name = "pytorch-nightly-cu129"
118-
url = "https://download.pytorch.org/whl/nightly/cu129"
114+
name = "pytorch-nightly-cu128"
115+
url = "https://download.pytorch.org/whl/nightly/cu128"
119116
explicit = false
120117

121118
[[tool.uv.index]]
122-
name = "jetson-containers"
123-
url = "https://pypi.jetson-ai-lab.io/jp6/cu126"
119+
name = "pytorch-nightly-cu126"
120+
url = "https://download.pytorch.org/whl/nightly/cu126"
124121
explicit = false
125122

126123
[[tool.uv.index]]
127-
name = "nvidia"
128-
url = "https://pypi.nvidia.com"
124+
name = "pytorch-test-cu130"
125+
url = "https://download.pytorch.org/whl/test/cu130"
129126
explicit = false
130127

131-
# [[tool.uv.index]]
132-
# name = "pytorch-nightly-cu124"
133-
# url = "https://download.pytorch.org/whl/nightly/cu124"
134-
# explicit = true
128+
[[tool.uv.index]]
129+
name = "pytorch-test-cu128"
130+
url = "https://download.pytorch.org/whl/test/cu128"
131+
explicit = false
135132

136-
# [[tool.uv.index]]
137-
# name = "pytorch-nightly-cu118"
138-
# url = "https://download.pytorch.org/whl/nightly/cu118"
139-
# explicit = true
133+
[[tool.uv.index]]
134+
name = "pytorch-test-cu126"
135+
url = "https://download.pytorch.org/whl/test/cu126"
136+
explicit = false
140137

141-
# [[tool.uv.index]]
142-
# name = "pytorch-test-cu124"
143-
# url = "https://download.pytorch.org/whl/test/cu124"
144-
# explicit = false
138+
[[tool.uv.index]]
139+
name = "pytorch-release-cu130"
140+
url = "https://download.pytorch.org/whl/release/cu130"
141+
explicit = false
145142

146-
# [[tool.uv.index]]
147-
# name = "pytorch-test-cu118"
148-
# url = "https://download.pytorch.org/whl/test/cu118"
149-
# explicit = false
143+
[[tool.uv.index]]
144+
name = "pytorch-release-cu128"
145+
url = "https://download.pytorch.org/whl/release/cu128"
146+
explicit = false
150147

151-
# [[tool.uv.index]]
152-
# name = "pytorch-release-cu124"
153-
# url = "https://download.pytorch.org/whl/cu124"
154-
# explicit = false
148+
[[tool.uv.index]]
149+
name = "pytorch-release-cu126"
150+
url = "https://download.pytorch.org/whl/release/cu126"
151+
explicit = false
155152

156153
# [[tool.uv.index]]
157-
# name = "pytorch-release-cu118"
158-
# url = "https://download.pytorch.org/whl/cu118"
154+
# name = "jetson-containers"
155+
# url = "https://pypi.jetson-ai-lab.io/jp6/cu126"
159156
# explicit = false
160157

158+
[[tool.uv.index]]
159+
name = "nvidia"
160+
url = "https://pypi.nvidia.com"
161+
explicit = false
162+
161163

162164
[tool.ruff]
163165
# NOTE: Synchoronize the ignores with .flake8

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,12 +744,17 @@ def get_requirements():
744744
# standard linux and windows requirements
745745
requirements = base_requirements + ["numpy"]
746746
if not IS_DLFW_CI:
747-
requirements = requirements + ["torch>=2.10.0.dev,<2.11.0"]
747+
requirements = requirements + [
748+
"torch>=2.10.0.dev,<2.11.0"
749+
]
748750
if USE_TRT_RTX:
749751
requirements = requirements + [
750752
"tensorrt_rtx>=1.2.0.54",
751753
]
752754
else:
755+
requirements = requirements + [
756+
"tensorrt>=10.14.1,<10.15.0",
757+
]
753758
cuda_version = torch.version.cuda
754759
if cuda_version.startswith("12"):
755760
# directly use tensorrt>=10.14.1,<10.15.0 in cu12* env, it will pull both tensorrt_cu12 and tensorrt_cu13

0 commit comments

Comments
 (0)