Skip to content

Commit

Permalink
[bugfix] moe tuning. rm is_navi() (#12273)
Browse files Browse the repository at this point in the history
Signed-off-by: Divakar Verma <[email protected]>
  • Loading branch information
divakar-amd authored Jan 21, 2025
1 parent 9c485d9 commit 2acba47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/kernels/benchmark_moe.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

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):
Expand Down

0 comments on commit 2acba47

Please sign in to comment.