Skip to content

Commit d055ef6

Browse files
authored
Fixup typo add required newline (#3639)
## Description The code block following the added newline is not rendering in the GitHub preview nor the tutorials website at [here](https://docs.pytorch.org/tutorials/intermediate/pipelining_tutorial.html#:~:text=The%20second%20method,splitting%20is%20done.). Adding the newline would make it render/showup in the GitHub preview and probably (not tested) in the tutorials website. ## Checklist - [x] The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER") - [x] Only one issue is addressed in this pull request - [ ] Labels from the issue that this PR is fixing are added to this pull request - [x] No unnecessary issues are included into this pull request. cc @svekars @sekyondaMeta @AlannaBurke
1 parent 9803332 commit d055ef6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

intermediate_source/pipelining_tutorial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ we are splitting before the before 4th transformer decoder layer, mirroring the
145145
we can retrieve a ``PipelineStage`` by calling ``build_stage`` after this splitting is done.
146146

147147
.. code:: python
148+
148149
def tracer_model_split(model, example_input_microbatch) -> PipelineStage:
149150
pipe = pipeline(
150151
module=model,

0 commit comments

Comments
 (0)