Skip to content

Commit 2f3ab79

Browse files
author
Jessica Lin
authored
Merge pull request #1050 from mrshenli/fix
Fix code block in pipeline tutorial
2 parents aef2568 + 51abc6a commit 2f3ab79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

intermediate_source/dist_pipeline_parallel_tutorial.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ the two ResNet shards.
5858

5959

6060
.. code:: python
61+
6162
import threading
6263
6364
import torch
@@ -367,4 +368,4 @@ in each batch.
367368
Processing batch 0
368369
Processing batch 1
369370
Processing batch 2
370-
number of splits = 8, execution time = 9.076049566268921
371+
number of splits = 8, execution time = 9.076049566268921

0 commit comments

Comments
 (0)