diff --git a/.github/workflows/build-tutorials-nightly.yml b/.github/workflows/build-tutorials-nightly.yml index be4abb0418..3bcc7d8f9d 100644 --- a/.github/workflows/build-tutorials-nightly.yml +++ b/.github/workflows/build-tutorials-nightly.yml @@ -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: diff --git a/.jenkins/build.sh b/.jenkins/build.sh index f94623f0ef..290bc068c4 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.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 diff --git a/.jenkins/validate_tutorials_built.py b/.jenkins/validate_tutorials_built.py index 75dd51dd78..6dc96f0517 100644 --- a/.jenkins/validate_tutorials_built.py +++ b/.jenkins/validate_tutorials_built.py @@ -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]: