Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions python/sglang/srt/layers/quantization/fp8_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
get_device_capability,
is_cuda,
is_flashinfer_available,
is_gfx95_supported,
is_hip,
)

Expand All @@ -45,10 +46,11 @@

if _use_aiter:
import aiter
from aiter import gemm_a8w8_blockscale, gemm_a8w8_bpreshuffle, get_hip_quant

# from aiter import gemm_a8w8_blockscale, gemm_a8w8_bpreshuffle, get_hip_quant
from aiter import gemm_a8w8_bpreshuffle, get_hip_quant
from aiter.ops.triton.gemm_a8w8_blockscale import gemm_a8w8_blockscale
if is_gfx95_supported():
from aiter import gemm_a8w8_bpreshuffle, get_hip_quant
from aiter.ops.triton.gemm_a8w8_blockscale import gemm_a8w8_blockscale

aiter_per1x128_quant = get_hip_quant(aiter.QuantType.per_1x128)

Expand Down
Loading