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
46075b98
Unverified
Commit
46075b98
authored
Sep 30, 2024
by
Kirthi Shankar Sivamani
Committed by
GitHub
Sep 30, 2024
Browse files
[PyTorch] Fix distributed testing (#1219)
Fix Signed-off-by:
Kirthi Shankar Sivamani
<
ksivamani@nvidia.com
>
parent
728c558b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
qa/L1_pytorch_distributed_unittest/test.sh
qa/L1_pytorch_distributed_unittest/test.sh
+2
-6
No files found.
qa/L1_pytorch_distributed_unittest/test.sh
View file @
46075b98
...
@@ -4,16 +4,12 @@
...
@@ -4,16 +4,12 @@
set
-e
set
-e
# pkg_resources is deprecated in setuptools 70+ and the packaging submodule
# has been removed from it. This is a temporary fix until upstream MLM fix.
pip
install
setuptools
==
69.5.1
:
${
TE_PATH
:
=/opt/transformerengine
}
:
${
TE_PATH
:
=/opt/transformerengine
}
pytest
-v
-s
$TE_PATH
/tests/pytorch/distributed/test_comm_gemm_overlap.py
pytest
-v
-s
$TE_PATH
/tests/pytorch/distributed/test_comm_gemm_overlap.py
pip
install
prettytable
git clone https://github.com/NVIDIA/Megatron-LM.git
git clone https://github.com/NVIDIA/Megatron-LM.git
cd
Megatron-LM
cd
Megatron-LM
git checkout bcce6f54e075e3c3374ea67adefe54f3f2da2b07
git checkout b3375a0e38c10e2300ef4be031f7dcabab52b448
sed
-i
-e
'1504,1505d'
megatron/model/transformer.py
pytest
-v
-s
$TE_PATH
/tests/pytorch/distributed/test_convergence.py
pytest
-v
-s
$TE_PATH
/tests/pytorch/distributed/test_convergence.py
python
$TE_PATH
/tests/pytorch/distributed/print_logs.py
python
$TE_PATH
/tests/pytorch/distributed/print_logs.py
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