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
28726eaf
Commit
28726eaf
authored
May 14, 2025
by
wenjh
Browse files
Close Env NVTE_FORCE_ROCM_GEMM after tested gemm
parent
b8fe26e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tests/pytorch/test_numerics.py
tests/pytorch/test_numerics.py
+4
-0
No files found.
tests/pytorch/test_numerics.py
View file @
28726eaf
...
@@ -1800,6 +1800,8 @@ def test_grouped_linear_accuracy(
...
@@ -1800,6 +1800,8 @@ def test_grouped_linear_accuracy(
fuse_wgrad_accumulation
,
fuse_wgrad_accumulation
,
delay_wgrad_compute
,
delay_wgrad_compute
,
)
)
if
IS_HIP_EXTENSION
:
os
.
environ
[
"NVTE_FORCE_ROCM_GEMM"
]
=
"0"
# Shoule be bit-wise match
# Shoule be bit-wise match
for
i
,
(
o
,
o_ref
)
in
enumerate
(
zip
(
outputs
,
outputs_ref
)):
for
i
,
(
o
,
o_ref
)
in
enumerate
(
zip
(
outputs
,
outputs_ref
)):
...
@@ -2508,6 +2510,8 @@ def test_grouped_gemm(shape, dtype, layout, accumulate):
...
@@ -2508,6 +2510,8 @@ def test_grouped_gemm(shape, dtype, layout, accumulate):
layout
=
layout
,
layout
=
layout
,
single_output
=
single_output
,
single_output
=
single_output
,
)
)
if
IS_HIP_EXTENSION
:
os
.
environ
[
"NVTE_FORCE_ROCM_GEMM"
]
=
"0"
# should be bit-wise match
# should be bit-wise match
for
o
,
o_ref
in
zip
(
out
,
out_ref
):
for
o
,
o_ref
in
zip
(
out
,
out_ref
):
...
...
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