Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
TransformerEngine
Commits
1ae81903
Unverified
Commit
1ae81903
authored
Dec 13, 2024
by
Jingyue Wu
Committed by
GitHub
Dec 13, 2024
Browse files
Fix an invalid reference in the doc (#1362)
parent
e7bfc0c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/pytorch/comm_gemm_overlap/README.md
examples/pytorch/comm_gemm_overlap/README.md
+2
-2
No files found.
examples/pytorch/comm_gemm_overlap/README.md
View file @
1ae81903
...
...
@@ -16,7 +16,7 @@
Forward and backward passes with layer weights distributed over all GPUs in a single node.
```
bash
$
torchrun
--nnodes
=
1
--nproc-per-node
=
$(
nvidia-smi
-L
|
wc
-l
)
ln_mlp
_with_overlap.py
$
torchrun
--nnodes
=
1
--nproc-per-node
=
$(
nvidia-smi
-L
|
wc
-l
)
te_layer
_with_overlap.py
# Sample output on 8x H100s:
# [rank0:node0] |-- Created tensor-parallel group: [0, 1, 2, 3, 4, 5, 6, 7]
...
...
@@ -70,7 +70,7 @@ Uses `torch.nn.parallel.DistributedDataParallel` for replicatin the model across
groups in a single node.
```
bash
$
torchrun
--nnodes
=
1
--nproc-per-node
=
$(
nvidia-smi
-L
|
wc
-l
)
ln_mlp
_overlap.py
--num-replicas
2
$
torchrun
--nnodes
=
1
--nproc-per-node
=
$(
nvidia-smi
-L
|
wc
-l
)
te_layer_with
_overlap.py
--num-replicas
2
# Sample output on 8x H100s:
# [rank0:node0] |-- Created tensor-parallel group: [0, 1, 2, 3]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment