We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ac548 commit 23f88cdCopy full SHA for 23f88cd
docs/source-app/levels/basic/hello_components/pl_multinode.py
@@ -1,6 +1,6 @@
1
# app.py
2
import lightning as L
3
-from lightning.app.components import PyTorchLightningMultiNode
+from lightning.app.components import LightningTrainerMultiNode
4
from lightning.pytorch.demos.boring_classes import BoringModel
5
6
@@ -12,7 +12,7 @@ def run():
12
trainer.fit(model)
13
14
# 8 GPU: (2 nodes of 4 x v100)
15
-component = PyTorchLightningMultiNode(
+component = LightningTrainerMultiNode(
16
LightningTrainerDistributed,
17
num_nodes=2,
18
cloud_compute=L.CloudCompute("gpu-fast-multi"), # 4 x v100
0 commit comments