From 689fd380f33901e5561f3bedc7a1c4abf350cc72 Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Wed, 26 Aug 2026 10:40:56 -0400 Subject: [PATCH] Pin torch==2.14.0 from the test channel Branch-cut step to start testing the 2.14 release in tutorials, mirroring #3929 for 2.13. The push-on-main trigger in build-tutorials-nightly.yml is already enabled, so only the pin moves this time. --- .jenkins/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.jenkins/build.sh b/.jenkins/build.sh index 45a8dfcedd7..92db6b1bea9 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.13.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu130 + pip3 install torch==2.14.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.13 to merge all 2.13 PRs - uncomment to install nightly binaries (update the version as needed). +# Install 2.14 to merge all 2.14 PRs - uncomment to install nightly binaries (update the version as needed). # sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata -# pip3 install torch==2.13.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu130 +# pip3 install torch==2.14.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