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
11b6b7e4
Commit
11b6b7e4
authored
Apr 28, 2025
by
yuguo
Browse files
[DCU] fix bad alloc
parent
34ea55b9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tests/pytorch/distributed/run_numerics.py
tests/pytorch/distributed/run_numerics.py
+1
-1
tests/pytorch/distributed/test_numerics.py
tests/pytorch/distributed/test_numerics.py
+1
-1
No files found.
tests/pytorch/distributed/run_numerics.py
View file @
11b6b7e4
...
...
@@ -10,10 +10,10 @@ import os
import
sys
from
functools
import
wraps
import
transformer_engine.pytorch
as
te
import
torch
from
torch
import
nn
import
torch.distributed
as
dist
import
transformer_engine.pytorch
as
te
import
transformer_engine_torch
as
tex
from
transformer_engine.common.recipe
import
(
MXFP8BlockScaling
,
...
...
tests/pytorch/distributed/test_numerics.py
View file @
11b6b7e4
...
...
@@ -53,7 +53,7 @@ def test_distributed(quantization):
if
quantization
==
"fp8"
and
not
fp8_available
:
pytest
.
skip
(
reason_for_no_fp8
)
if
quantization
==
"fp8_cs"
and
not
fp8_available
:
pytest
.
skip
(
fp8_available
)
pytest
.
skip
(
reason_for_no_fp8
)
if
quantization
==
"mxfp8"
and
not
mxfp8_available
:
pytest
.
skip
(
reason_for_no_mxfp8
)
_run_test
(
quantization
)
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