...
Codeblock | ||
---|---|---|
| ||
$ srun --nodes=2 --gres=gpu:4 --partition=gpu-a100 example_cmd |
...
Codeblock | ||
---|---|---|
| ||
# Note: The two GPUs may be located on different nodes. $ srun --gpus=2 --partition=gpu-a100:shared example_cmd # Note: Two GPUs on the same node. $ srun --nodes=1 --gres=gpu:2 --partition=gpu-a100:shared example_cmd |
...