From 34d8906bfed9a1ac8d76b68c95672fa6e172854d Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Mon, 29 Jun 2026 08:49:56 -0700 Subject: [PATCH] Enable nightly build to test 2.13 Branch-cut step for the 2.13 release (mirrors #3831 for 2.12): - Re-enable the push-on-main trigger for build-tutorials-nightly.yml. - Pin torch==2.13.0 from the test channel in .jenkins/build.sh (USE_NIGHTLY path + the commented reference line), and update the 2.12 -> 2.13 comment. .ci/docker/requirements.txt stays at 2.12 until the move-to-stable step. --- .github/workflows/build-tutorials-nightly.yml | 6 +++--- .jenkins/build.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-tutorials-nightly.yml b/.github/workflows/build-tutorials-nightly.yml index 8d6c839ebe0..57aff644a88 100644 --- a/.github/workflows/build-tutorials-nightly.yml +++ b/.github/workflows/build-tutorials-nightly.yml @@ -18,9 +18,9 @@ on: # pull_request: # Comment out the below line to disable on the main branch - # push: - # branches: - # - main + push: + branches: + - main workflow_dispatch: concurrency: diff --git a/.jenkins/build.sh b/.jenkins/build.sh index d5abb987093..45a8dfcedd7 100755 --- a/.jenkins/build.sh +++ b/.jenkins/build.sh @@ -30,14 +30,14 @@ sudo apt-get install -y pandoc # Install PyTorch Nightly for test. if [ "${USE_NIGHTLY:-0}" -eq 1 ]; then sudo pip uninstall -y torch torchvision torchaudio - pip3 install torch==2.12.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu130 + pip3 install torch==2.13.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu130 pip show torch fi # Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html -# Install 2.12 to merge all 2.12 PRs - uncomment to install nightly binaries (update the version as needed). +# Install 2.13 to merge all 2.13 PRs - uncomment to install nightly binaries (update the version as needed). # sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata -# pip3 install torch==2.12.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu130 +# pip3 install torch==2.13.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu130 # Install two language tokenizers for Translation with TorchText tutorial # Note: keep this version consistent with the spacy version in requirements.txt pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl