Skip to content

Commit 3d6cea6

Browse files
committed
Fix reference
1 parent 1646eca commit 3d6cea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source-fabric/advanced/compile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ always exclude the first call to ``forward()`` from your measurements, since it
121121
Apply torch.compile with ModelParallelStrategy
122122
**********************************************
123123

124-
:func:`torch.compile` can also be invoked as part of the :func:`parallelize_fn` argument of :class:`~lightning.fabric.strategies.model_parallel.ModelParallelStrategy`.
124+
:func:`torch.compile` can also be invoked as part of the `parallelize_fn` argument of :class:`~lightning.fabric.strategies.model_parallel.ModelParallelStrategy`.
125125

126126
This is particularly handy when :func:`torch.compile` is used in combination with the `torch.distributed.tensor` API.
127127

0 commit comments

Comments
 (0)