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
2acba47d
Unverified
Commit
2acba47d
authored
Jan 21, 2025
by
Divakar Verma
Committed by
GitHub
Jan 21, 2025
Browse files
[bugfix] moe tuning. rm is_navi() (#12273)
Signed-off-by:
Divakar Verma
<
divakar.verma@amd.com
>
parent
9c485d9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
benchmarks/kernels/benchmark_moe.py
benchmarks/kernels/benchmark_moe.py
+2
-2
No files found.
benchmarks/kernels/benchmark_moe.py
View file @
2acba47d
...
...
@@ -12,10 +12,10 @@ from transformers import AutoConfig
from
vllm.model_executor.layers.fused_moe.fused_moe
import
*
from
vllm.platforms
import
current_platform
from
vllm.utils
import
FlexibleArgumentParser
,
is_navi
from
vllm.utils
import
FlexibleArgumentParser
FP8_DTYPE
=
torch
.
float8_e4m3fnuz
if
current_platform
.
is_rocm
(
)
and
not
is_navi
(
)
else
torch
.
float8_e4m3fn
)
else
torch
.
float8_e4m3fn
class
BenchmarkConfig
(
TypedDict
):
...
...
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