Skip to content

Commit acb3125

Browse files
committed
Newline after code-block directive
1 parent 06c6af6 commit acb3125

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/source-fabric/advanced/compile.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ This is particularly handy when :func:`torch.compile` is used in combination wit
128128
Here is an example:
129129

130130
.. code-block:: python
131+
131132
import lightning as L
132133
import torch
133134
import torch.nn as nn
@@ -173,6 +174,7 @@ that need to be applied in a similar fashion, it's easy to reason about the sequ
173174
needed to achieve the equivalent of `compile(distributed(quantized(model)))`:
174175

175176
.. code-block:: python
177+
176178
import lightning as L
177179
import torch
178180
import torch.nn as nn

docs/source-pytorch/advanced/compile.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ This is particularly handy when :func:`torch.compile` is used in combination wit
149149
Here is an example:
150150

151151
.. code-block:: python
152+
152153
import lightning as L
153154
import torch
154155
import torch.nn as nn
@@ -203,6 +204,7 @@ that need to be applied in a similar fashion, it's easy to reason about the sequ
203204
needed to achieve the equivalent of `compile(distributed(quantized(model)))`:
204205

205206
.. code-block:: python
207+
206208
import lightning as L
207209
import torch
208210
import torch.nn as nn

0 commit comments

Comments
 (0)