Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-tutorials-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ name: Build tutorials (nightly/test)
# download the binaries in .jenkins/build.sh.
on:
# Only main branch for now. Uncomment the below line to enable it on PRs.
# pull_request:
pull_request:

# Comment out the below line to disable on the main branch
# push:
# branches:
# - main
push:
branches:
- main
workflow_dispatch:

concurrency:
Expand Down
6 changes: 3 additions & 3 deletions .jenkins/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu130
pip3 install torch==2.11.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.5 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed).
# Install 2.11 to merge all 2.11 PRs - uncomment to install nightly binaries (update the version as needed).
# sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata
#pip3 install torch==2.10.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu130
# pip3 install torch==2.11.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu130
# Install two language tokenizers for Translation with TorchText tutorial
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.4.0/en_core_web_sm-3.4.0-py3-none-any.whl

Expand Down
3 changes: 3 additions & 0 deletions .jenkins/validate_tutorials_built.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"intermediate_source/tensorboard_profiler_tutorial", # reenable after 2.0 release.
"advanced_source/semi_structured_sparse", # reenable after 3303 is fixed.
"intermediate_source/torchrec_intro_tutorial.py", #failing with 2.8 reenable after 3498
"intermediate_source/torch_export_tutorial.py", # failing with 2.11 issue #3773
"beginner_source/mosaic_memory_profiling_tutorial.py", # failing with 2.11 issue #3774
"intermediate_source/variable_length_attention_tutorial.py", # failing with 2.11 issue #3775
]

def tutorial_source_dirs() -> List[Path]:
Expand Down