Skip to content

Commit 8c2adf6

Browse files
committed
cleaned up demos
1 parent e739c79 commit 8c2adf6

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Multi-node example
22

3-
Run this module to launch a job which runs on 2 nodes each using 2 GPUs.
3+
To run this demo which launches a single job that trains on 2 nodes (2 gpus per node), do the following:
44

5+
1. Log into the jumphost node of your SLURM-managed cluster.
6+
2. Create a conda environment with Lightning and a GPU PyTorch version.
7+
3. Submit this script.
58
```bash
6-
bash job_submit.sh
9+
bash job_submit.sh your_env_name_with_lightning_installed
710
```

examples/multi_node_examples/job_submit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#SBATCH --time=0-02:00:00
99

1010
# activate conda env
11-
conda activate my_env
11+
conda activate $1
1212

1313
# -------------------------
1414
# debugging flags (optional)

0 commit comments

Comments
 (0)