File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
examples/multi_node_examples Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ To run this demo which launches a single job that trains on 2 nodes (2 gpus per
6
6
2 . Create a conda environment with Lightning and a GPU PyTorch version.
7
7
3 . Submit this script.
8
8
``` bash
9
- sbatch job_submit.sh your_env_name_with_lightning_installed
10
- ```
9
+ sbatch job_submit.sh --env=YourEnv
10
+ ```
Original file line number Diff line number Diff line change 8
8
# SBATCH --time=0-02:00:00
9
9
10
10
# activate conda env
11
- conda activate $1
11
+ source activate $env
12
12
13
13
# -------------------------
14
14
# debugging flags (optional)
@@ -24,4 +24,4 @@ conda activate $1
24
24
# -------------------------
25
25
26
26
# run script from above
27
- python multi_node_demo.py
27
+ srun python multi_node_demo.py
You can’t perform that action at this time.
0 commit comments