Skip to content

Commit 41f1a36

Browse files
docs 5/n (#15669)
* examples * fix few examples * Update pl_multinode.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 80e7538 commit 41f1a36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def run():
1414
# 8 GPU: (2 nodes of 4 x v100)
1515
component = LightningTrainerMultiNode(
1616
LightningTrainerDistributed,
17-
num_nodes=2,
17+
num_nodes=4,
1818
cloud_compute=L.CloudCompute("gpu-fast-multi"), # 4 x v100
1919
)
2020
app = L.LightningApp(component)
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. lit_tabs::
22
:titles: Hello world; Hello GPU world; PyTorch & ⚡⚡⚡ Trainer (1+ cloud GPUs); Train PyTorch (cloud GPU); Train PyTorch (32 cloud GPUs); Deploy a model on cloud GPUs; Run a model script; XGBoost; Streamlit demo
33
:code_files: /levels/basic/hello_components/hello_world.py; /levels/basic/hello_components/hello_world_gpu.py; /levels/basic/hello_components/pl_multinode.py; /levels/basic/hello_components/train_pytorch.py; /levels/basic/hello_components/pt_multinode.py; /levels/basic/hello_components/deploy_model.py; /levels/basic/hello_components/run_ptl_script.py; /levels/basic/hello_components/xgboost.py; /levels/basic/hello_components/streamlit_demo.py
4-
:highlights: 7; 10, 11; 10-12, 17, 18; 4, 8, 12, 18-19, 26; 5, 10, 22, 28, 32, 42, 58-60; 3, 11-13, 25, 30; 7, 10; 15, 21; 9, 15, 24
4+
:highlights: 7; 10, 11; 10-12, 17, 18; 4, 8, 12, 18-19, 26; 5, 10, 22, 28, 32, 42, 58-60; 3, 11-12, 25, 29; 7, 10; 15, 21; 9, 15, 24
55
:app_id: abc123
66
:tab_rows: 3
77
:height: 620px

0 commit comments

Comments
 (0)