Skip to content

Commit cc4874c

Browse files
authored
Enable nightly build to test 2.12 (#3831)
1 parent f6afe53 commit cc4874c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build-tutorials-nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ on:
1818
# pull_request:
1919

2020
# Comment out the below line to disable on the main branch
21-
# push:
22-
# branches:
23-
# - main
21+
push:
22+
branches:
23+
- main
2424
workflow_dispatch:
2525

2626
concurrency:

.jenkins/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ sudo apt-get install -y pandoc
3030
# Install PyTorch Nightly for test.
3131
if [ "${USE_NIGHTLY:-0}" -eq 1 ]; then
3232
sudo pip uninstall -y torch torchvision torchaudio
33-
pip3 install torch==2.11.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu130
33+
pip3 install torch==2.12.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu130
3434
pip show torch
3535
fi
3636

3737
# Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html
38-
# Install 2.11 to merge all 2.11 PRs - uncomment to install nightly binaries (update the version as needed).
38+
# Install 2.12 to merge all 2.12 PRs - uncomment to install nightly binaries (update the version as needed).
3939
# sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata
40-
# pip3 install torch==2.11.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu130
40+
# pip3 install torch==2.12.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu130
4141
# Install two language tokenizers for Translation with TorchText tutorial
4242
# Note: keep this version consistent with the spacy version in requirements.txt
4343
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

0 commit comments

Comments
 (0)