Skip to content

Commit 23f88cd

Browse files
authored
Fixed Import in Docs For Multinode Trainer Name Which does Not Exist (#15663)
1 parent 57ac548 commit 23f88cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source-app/levels/basic/hello_components/pl_multinode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# app.py
22
import lightning as L
3-
from lightning.app.components import PyTorchLightningMultiNode
3+
from lightning.app.components import LightningTrainerMultiNode
44
from lightning.pytorch.demos.boring_classes import BoringModel
55

66

@@ -12,7 +12,7 @@ def run():
1212
trainer.fit(model)
1313

1414
# 8 GPU: (2 nodes of 4 x v100)
15-
component = PyTorchLightningMultiNode(
15+
component = LightningTrainerMultiNode(
1616
LightningTrainerDistributed,
1717
num_nodes=2,
1818
cloud_compute=L.CloudCompute("gpu-fast-multi"), # 4 x v100

0 commit comments

Comments
 (0)