Skip to content

Commit 59323f1

Browse files
authored
Merge branch 'main' into jingxu10/torch_113522
2 parents 4c1d4bd + c043bab commit 59323f1

30 files changed

+1461
-1322
lines changed

.jenkins/build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ sudo apt-get install -y pandoc
2323
# Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html
2424
# Install 2.2 for testing - uncomment to install nightly binaries (update the version as needed).
2525
# pip uninstall -y torch torchvision torchaudio torchtext torchdata
26-
# pip3 install torch==2.3.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu121
26+
# pip3 install torch==2.3.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu121
2727

2828
# Install two language tokenizers for Translation with TorchText tutorial
2929
python -m spacy download en_core_web_sm
@@ -36,7 +36,6 @@ awsv2 configure set default.s3.multipart_threshold 5120MB
3636
if [[ "${JOB_TYPE}" == "worker" ]]; then
3737
# Step 1: Remove runnable code from tutorials that are not supposed to be run
3838
python $DIR/remove_runnable_code.py beginner_source/aws_distributed_training_tutorial.py beginner_source/aws_distributed_training_tutorial.py || true
39-
# python $DIR/remove_runnable_code.py advanced_source/ddp_pipeline_tutorial.py advanced_source/ddp_pipeline_tutorial.py || true
4039
# Temp remove for mnist download issue. (Re-enabled for 1.8.1)
4140
# python $DIR/remove_runnable_code.py beginner_source/fgsm_tutorial.py beginner_source/fgsm_tutorial.py || true
4241
# python $DIR/remove_runnable_code.py intermediate_source/spatial_transformer_tutorial.py intermediate_source/spatial_transformer_tutorial.py || true

.jenkins/validate_tutorials_built.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,17 @@
2626
"beginner_source/text_sentiment_ngrams_tutorial", # not building with 2.3 RC, might be able to turn on with GA
2727
"beginner_source/t5_tutorial", # re-enable after this is fixed: https://github.com/pytorch/text/issues/1756
2828
"intermediate_source/mnist_train_nas", # used by ax_multiobjective_nas_tutorial.py
29-
"intermediate_source/torchvision_tutorial", # disable due to RuntimeError: DataLoader worker (pid(s) 20092) exited unexpectedly
3029
"intermediate_source/fx_conv_bn_fuser",
3130
"intermediate_source/_torch_export_nightly_tutorial", # does not work on release
3231
"advanced_source/super_resolution_with_onnxruntime",
33-
"advanced_source/ddp_pipeline", # requires 4 gpus
32+
"advanced_source/python_custom_ops", # https://github.com/pytorch/pytorch/issues/127443
3433
"advanced_source/usb_semisup_learn", # fails with CUDA OOM error, should try on a different worker
3534
"prototype_source/fx_graph_mode_ptq_dynamic",
3635
"prototype_source/vmap_recipe",
3736
"prototype_source/torchscript_freezing",
3837
"prototype_source/nestedtensor",
3938
"recipes_source/recipes/saving_and_loading_models_for_inference",
4039
"recipes_source/recipes/saving_multiple_models_in_one_file",
41-
"recipes_source/recipes/loading_data_recipe",
4240
"recipes_source/recipes/tensorboard_with_pytorch",
4341
"recipes_source/recipes/what_is_state_dict",
4442
"recipes_source/recipes/profiler_recipe",
@@ -55,7 +53,10 @@
5553
"recipes_source/recipes/Captum_Recipe",
5654
"intermediate_source/flask_rest_api_tutorial",
5755
"intermediate_source/text_to_speech_with_torchaudio",
58-
"intermediate_source/tensorboard_profiler_tutorial" # reenable after 2.0 release.
56+
"intermediate_source/tensorboard_profiler_tutorial", # reenable after 2.0 release.
57+
"intermediate_source/inductor_debug_cpu", # reenable after 2942
58+
"beginner_source/onnx/onnx_registry_tutorial", # reenable after 2941 is fixed.
59+
"intermediate_source/torch_export_tutorial" # reenable after 2940 is fixed.
5960
]
6061

6162
def tutorial_source_dirs() -> List[Path]:

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ example](https://github.com/pytorch/tutorials/blob/main/_static/img/thumbnails/c
326326

327327
The following command builds an HTML version of the tutorial website.
328328

329-
```
330-
make html-noplot
331-
```
329+
```
330+
make html-noplot
331+
```
332332

333333
This command does not run your tutorial code. To build the tutorial in a
334334
way that executes the code, use `make docs`. However, unless you have a

_static/img/cat_resized.jpg

39.2 KB
Loading

0 commit comments

Comments
 (0)