Skip to content

Commit 0cf288c

Browse files
authored
Merge branch 'main' into fix-compile-link
2 parents b221dc6 + e8b4de5 commit 0cf288c

27 files changed

Lines changed: 2763 additions & 338 deletions

.ci/docker/requirements.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ pandocfilters==1.5.1
1616
markdown==3.8.2
1717

1818
# PyTorch Theme
19-
pytorch_sphinx_theme2==0.2.0
19+
pytorch_sphinx_theme2==0.3.0
2020

2121
# Tutorial dependencies
2222
tqdm==4.66.1
2323
numpy==1.24.4
2424
matplotlib
2525
librosa
26-
torch==2.9
26+
torch==2.10
2727
torchvision
2828
torchdata
2929
networkx
@@ -49,6 +49,9 @@ onnxscript>=0.2.2
4949
onnxruntime
5050
evaluate
5151
accelerate>=0.20.1
52+
git+https://github.com/facebookresearch/mosaic.git
53+
altair
54+
omegaconf
5255

5356
importlib-metadata==6.8.0
5457

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ name: Build tutorials (nightly/test)
1515
# download the binaries in .jenkins/build.sh.
1616
on:
1717
# Only main branch for now. Uncomment the below line to enable it on PRs.
18-
pull_request:
18+
# 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
24+
workflow_dispatch:
2425

2526
concurrency:
2627
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}

.jenkins/build.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ fi
3636

3737
# Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html
3838
# Install 2.5 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed).
39-
# sudo pip uninstall -y fbgemm-gpu torchrec
40-
# sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata torchrl tensordict
41-
# sudo pip3 install fbgemm-gpu==1.1.0 torchrec==1.0.0 --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124
42-
# pip3 install torch==2.7.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu126
39+
# sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata
40+
#pip3 install torch==2.10.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu130
4341
# Install two language tokenizers for Translation with TorchText tutorial
4442
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
4543

@@ -70,7 +68,6 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
7068
export FILES_TO_RUN
7169

7270
# Step 3: Run `make docs` to generate HTML files and static files for these tutorialis
73-
pip3 install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
7471
make docs
7572

7673
# Step 3.1: Run the post-processing script:
@@ -134,7 +131,6 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
134131
fi
135132
elif [[ "${JOB_TYPE}" == "manager" ]]; then
136133
# Step 1: Generate no-plot HTML pages for all tutorials
137-
pip3 install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
138134
make html-noplot
139135
cp -r _build/html docs
140136

345 KB
Loading
164 KB
Loading
278 KB
Loading
140 KB
Loading
188 KB
Loading

_static/img/varlen_diagram.png

207 KB
Loading

0 commit comments

Comments
 (0)