Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
eec890c1
Unverified
Commit
eec890c1
authored
Aug 06, 2025
by
Wentao Ye
Committed by
GitHub
Aug 06, 2025
Browse files
[Bug] Fix B200 DeepGEMM E8M0 Accuracy Issue (#22399)
Signed-off-by:
yewentao256
<
zhyanwentao@126.com
>
parent
46a13949
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/model_executor/layers/quantization/utils/fp8_utils.py
vllm/model_executor/layers/quantization/utils/fp8_utils.py
+2
-1
No files found.
vllm/model_executor/layers/quantization/utils/fp8_utils.py
View file @
eec890c1
...
...
@@ -799,7 +799,8 @@ def requant_weight_ue8m0_inplace(
s_exp
=
s_exp
[:
m_cur
,
:
k_cur
]
w_dq
=
w_q
.
to
(
torch
.
float32
)
*
s_exp
# Re-quantise using power-of-two scaling (UE8M0).
w_requant
,
s_requant
=
per_block_cast_to_fp8
(
w_dq
,
[
block_m
,
block_k
])
w_requant
,
s_requant
=
per_block_cast_to_fp8
(
w_dq
,
[
block_m
,
block_k
],
use_ue8m0
=
True
)
# Write back the results in-place.
w_q
.
copy_
(
w_requant
)
...
...
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