Skip to content

Commit a1aa3b9

Browse files
authored
Brianjo ddp patch (#1426)
* Rename ddp_pipeline_tutorial.py to ddp_pipeline.py This will make this file non-executable and the code will still show up in the file. * Update build.sh * Update index.rst
1 parent 2107a7a commit a1aa3b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.jenkins/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export NUM_WORKERS=20
4747
if [[ "${JOB_BASE_NAME}" == *worker_* ]]; then
4848
# Step 1: Remove runnable code from tutorials that are not supposed to be run
4949
python $DIR/remove_runnable_code.py beginner_source/aws_distributed_training_tutorial.py beginner_source/aws_distributed_training_tutorial.py || true
50-
python $DIR/remove_runnable_code.py advanced_source/ddp_pipeline_tutorial.py advanced_source/ddp_pipeline_tutorial.py || true
50+
# python $DIR/remove_runnable_code.py advanced_source/ddp_pipeline_tutorial.py advanced_source/ddp_pipeline_tutorial.py || true
5151
# Temp remove for mnist download issue.
5252
python $DIR/remove_runnable_code.py beginner_source/fgsm_tutorial.py beginner_source/fgsm_tutorial.py || true
5353
python $DIR/remove_runnable_code.py intermediate_source/spatial_transformer_tutorial.py intermediate_source/spatial_transformer_tutorial.py || true

index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ Welcome to PyTorch Tutorials
424424
:header: Training Transformer models using Distributed Data Parallel and Pipeline Parallelism
425425
:card_description: Walk through a through a simple example of how to train a transformer model using Distributed Data Parallel and Pipeline Parallelism
426426
:image: _static/img/thumbnails/cropped/Training-Transformer-Models-using-Distributed-Data-Parallel-and-Pipeline-Parallelism.png
427-
:link: advanced/ddp_pipeline_tutorial.html
427+
:link: advanced/ddp_pipeline.html
428428
:tags: Parallel-and-Distributed-Training
429429

430430
.. Mobile
@@ -637,7 +637,7 @@ Additional Resources
637637
intermediate/rpc_async_execution
638638
advanced/rpc_ddp_tutorial
639639
intermediate/pipeline_tutorial
640-
advanced/ddp_pipeline_tutorial
640+
advanced/ddp_pipeline
641641

642642
.. toctree::
643643
:maxdepth: 2

0 commit comments

Comments
 (0)