update variable naming and comments for rocm (#5299)

This commit is contained in:
Zhaoyi Li authored and GitHub committed 2025-04-11 23:15:05 -07:00
1 parent 2eb55770f9
commit 3c9740d200
6 files changed
+14 -10

No files matched your search

@@ -11,8 +11,8 @@ from vllm import _custom_ops as ops
from sglang.srt.utils import is_hip
is_hip_ = is_hip()
fp8_type_ = torch.float8_e4m3fnuz if is_hip_ else torch.float8_e4m3fn
_is_hip = is_hip()
fp8_type_ = torch.float8_e4m3fnuz if _is_hip else torch.float8_e4m3fn
def vllm_scaled_fp8_quant(