Skip to content

Commit 3fc7853

Browse files
githubsgisoumith
authored andcommitted
Updating comments in multiple files.
1 parent bac5d0f commit 3fc7853

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

distributed/tensor_parallelism/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ https://pytorch.org/docs/stable/distributed.tensor.parallel.html
1212

1313
```
1414
pip install -r requirements.txt
15-
python example.py
15+
torchrun --nnodes 1 --nproc-per-node 4 tensor_parallel_example.py
1616
```

distributed/tensor_parallelism/sequence_parallel_example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# torchrun --nnodes 1 --nproc-per-node 4 <fn>
1+
# The following is an example command to run this code
2+
# torchrun --nnodes 1 --nproc-per-node 4 sequence_parallel_example.py
23
import os
34
import sys
45
import torch

distributed/tensor_parallelism/tensor_parallel_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# The following is an example command to run this code
2-
# torchrun --nnodes 1 --nproc-per-node 4 <fn>
2+
# torchrun --nnodes 1 --nproc-per-node 4 tensor_parallel_example.py
33
import os
44
import sys
55
import torch

0 commit comments

Comments
 (0)