Skip to content

Commit 5080dcf

Browse files
committed
chore: release branch cut
Signed-off-by: Naren Dasan <[email protected]>
1 parent 25075e2 commit 5080dcf

File tree

6 files changed

+529
-493
lines changed

6 files changed

+529
-493
lines changed

.github/scripts/generate_binary_build_matrix.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
}
2626
CUDA_ARCHES_DICT = {
2727
"nightly": ["11.8", "12.4", "12.6"],
28-
"test": ["11.8", "12.1", "12.4"],
29-
"release": ["11.8", "12.1", "12.4"],
28+
"test": ["11.8", "12.4", "12.6"],
29+
"release": ["11.8", "12.4", "12.6"],
3030
}
3131
ROCM_ARCHES_DICT = {
3232
"nightly": ["6.1", "6.2"],
@@ -64,8 +64,8 @@
6464
XPU = "xpu"
6565

6666

67-
CURRENT_NIGHTLY_VERSION = "2.6.0"
68-
CURRENT_CANDIDATE_VERSION = "2.5.1"
67+
CURRENT_NIGHTLY_VERSION = "2.7.0"
68+
CURRENT_CANDIDATE_VERSION = "2.6.0"
6969
CURRENT_STABLE_VERSION = "2.5.1"
7070
CURRENT_VERSION = CURRENT_STABLE_VERSION
7171

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,21 @@ http_archive(
5555
name = "libtorch",
5656
build_file = "@//third_party/libtorch:BUILD",
5757
strip_prefix = "libtorch",
58-
urls = ["https://download.pytorch.org/libtorch/nightly/cu126/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
58+
urls = ["https://download.pytorch.org/libtorch/test/cu126/libtorch-cxx11-abi-shared-with-deps-latest.zip"],
5959
)
6060

6161
http_archive(
6262
name = "libtorch_pre_cxx11_abi",
6363
build_file = "@//third_party/libtorch:BUILD",
6464
strip_prefix = "libtorch",
65-
urls = ["https://download.pytorch.org/libtorch/nightly/cu126/libtorch-shared-with-deps-latest.zip"],
65+
urls = ["https://download.pytorch.org/libtorch/test/cu126/libtorch-shared-with-deps-latest.zip"],
6666
)
6767

6868
http_archive(
6969
name = "libtorch_win",
7070
build_file = "@//third_party/libtorch:BUILD",
7171
strip_prefix = "libtorch",
72-
urls = ["https://download.pytorch.org/libtorch/nightly/cu126/libtorch-win-shared-with-deps-latest.zip"],
72+
urls = ["https://download.pytorch.org/libtorch/test/cu126/libtorch-win-shared-with-deps-latest.zip"],
7373
)
7474

7575
# Download these tarballs manually from the NVIDIA website

docker/dist-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ set -x
55
TOP_DIR=$(cd $(dirname $0); pwd)/..
66

77
if [[ -z "${USE_CXX11}" ]]; then
8-
BUILD_CMD="python -m pip wheel . --extra-index-url https://download.pytorch.org/whl/nightly/cu124 -w dist"
8+
BUILD_CMD="python -m pip wheel . --extra-index-url https://download.pytorch.org/whl/test/cu126 -w dist"
99
else
10-
BUILD_CMD="python -m pip wheel . --config-setting="--build-option=--use-cxx11-abi" --extra-index-url https://download.pytorch.org/whl/nightly/cu124 -w dist"
10+
BUILD_CMD="python -m pip wheel . --config-setting="--build-option=--use-cxx11-abi" --extra-index-url https://download.pytorch.org/whl/test/cu126 -w dist"
1111
fi
1212

1313
# TensorRT restricts our pip version

py/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
numpy
22
packaging
33
pybind11==2.6.2
4-
--extra-index-url https://download.pytorch.org/whl/nightly/cu124
4+
--extra-index-url https://download.pytorch.org/whl/test/cu126
55
torch>=2.6.0.dev,<2.7.0
66
torchvision>=0.20.0.dev,<0.21.0
77
--extra-index-url https://pypi.ngc.nvidia.com

pyproject.toml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ requires = [
99
"typing-extensions>=4.7.0",
1010
"future>=0.18.3",
1111
"tensorrt-cu12>=10.6.0,<10.8.0",
12-
"torch>=2.6.0.dev,<2.7.0",
12+
"torch>=2.6.0,<2.7.0",
1313
"pybind11==2.6.2",
1414
"numpy",
1515
]
@@ -54,7 +54,7 @@ keywords = [
5454
"inference",
5555
]
5656
dependencies = [
57-
"torch>=2.6.0.dev,<2.7.0",
57+
"torch>=2.6.0,<2.7.0",
5858
"tensorrt-cu12>=10.6.0,<10.8.0",
5959
"tensorrt-cu12-bindings>=10.6.0,<10.8.0",
6060
"tensorrt-cu12-libs>=10.6.0,<10.8.0",
@@ -101,21 +101,16 @@ include-package-data = false
101101

102102
[tool.uv]
103103
environments = ["sys_platform == 'linux'", "sys_platform == 'windows'"]
104-
105104
prerelease = "if-necessary-or-explicit"
106-
105+
index-strategy = "unsafe-best-match"
107106

108107
[tool.uv.sources]
109-
torch = [
110-
{ index = "pytorch-nightly-cu126"},
111-
]
112-
torchvision = [
113-
{ index = "pytorch-nightly-cu126"},
114-
]
108+
torch = [{ index = "pytorch-test-cu126" }]
109+
torchvision = [{ index = "pytorch-test-cu126" }]
115110

116111
[[tool.uv.index]]
117-
name = "pytorch-nightly-cu126"
118-
url = "https://download.pytorch.org/whl/nightly/cu126"
112+
name = "pytorch-test-cu126"
113+
url = "https://download.pytorch.org/whl/test/cu126"
119114
explicit = false
120115

121116
# [[tool.uv.index]]

0 commit comments

Comments
 (0)