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
6ab9e0ab
Commit
6ab9e0ab
authored
Dec 31, 2025
by
wenjh
Browse files
Fix missing IS_HIP_EXTENSION
Signed-off-by:
wenjh
<
wenjh@sugon.com
>
parent
a7830f2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
transformer_engine/pytorch/cpp_extensions/gemm.py
transformer_engine/pytorch/cpp_extensions/gemm.py
+1
-0
No files found.
transformer_engine/pytorch/cpp_extensions/gemm.py
View file @
6ab9e0ab
...
...
@@ -40,6 +40,7 @@ from transformer_engine.pytorch.triton.per_token_group_quant import (per_token_q
tensorwise_dequantize_float
,
tensorwise_dequantize_float_add
)
from
transformer_engine.pytorch.utils
import
get_device_compute_capability
from
torch.utils.cpp_extension
import
IS_HIP_EXTENSION
from
transformer_engine.pytorch.quantization
import
int8_simulation_fp8
,
int8_simulation_fp8_tensorwise
int8_simulation_fp8_tensorwise_batched
=
bool
(
int
(
os
.
getenv
(
"NVTE_INT8_SIM_FP8_TENSORWISE_BATCHED"
,
"0"
)))
...
...
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