Skip to content
Merged
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
6 changes: 3 additions & 3 deletions vllm/model_executor/layers/quantization/utils/fp8_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _silu_mul_quant_fp8_packed_kernel(

pid_pack = tl.program_id(0)
pid_m = tl.program_id(1)
m_offset = pid_m * BLOCK_M
m_offset = pid_m.to(tl.int64) * BLOCK_M

if m_offset >= M:
return
Expand Down Expand Up @@ -321,8 +321,8 @@ def _silu_mul_per_token_group_quant_fp8_colmajor(
pid_n = tl.program_id(1)
N_2 = N // 2

m_offset = pid_m * BLOCK_M
n_offset = pid_n * BLOCK_N
m_offset = pid_m.to(tl.int64) * BLOCK_M
n_offset = pid_n.to(tl.int64) * BLOCK_N
if m_offset >= M:
return

Expand Down
Loading