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
6273fe8d
Unverified
Commit
6273fe8d
authored
Oct 08, 2025
by
Lukas Geiger
Committed by
GitHub
Oct 08, 2025
Browse files
[Benchmarks] Fix imports in FP8 tuning script (#26407)
Signed-off-by:
Lukas Geiger
<
lukas.geiger94@gmail.com
>
parent
9fb3ae4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
benchmarks/kernels/benchmark_w8a8_block_fp8.py
benchmarks/kernels/benchmark_w8a8_block_fp8.py
+2
-2
No files found.
benchmarks/kernels/benchmark_w8a8_block_fp8.py
View file @
6273fe8d
...
...
@@ -14,7 +14,7 @@ import torch
from
tqdm
import
tqdm
from
vllm.model_executor.layers.quantization.utils.fp8_utils
import
(
_w8a8_
block_fp8_matmul
,
_w8a8_
triton_block_scaled_mm
,
)
from
vllm.platforms
import
current_platform
from
vllm.triton_utils
import
triton
...
...
@@ -83,7 +83,7 @@ def w8a8_block_matmul(
)
if
A
.
dtype
==
torch
.
float8_e4m3fn
:
kernel
=
_w8a8_
block_fp8_matmul
kernel
=
_w8a8_
triton_block_scaled_mm
else
:
raise
RuntimeError
(
"Currently, only support tune w8a8 block fp8 kernel."
)
...
...
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