mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-22 17:44:34 +08:00
Fix overflow indexing in causal_conv1d kernel (#20938)
Signed-off-by: Thomas Parnell <tpa@zurich.ibm.com>
This commit is contained in:
parent
149f2435a5
commit
86f3ac21ce
@ -92,7 +92,8 @@ def _causal_conv1d_fwd_kernel( # continuous batching
|
||||
|
||||
if IS_CONTINUOUS_BATCHING:
|
||||
# cache_idx
|
||||
conv_state_batch_coord = tl.load(conv_state_indices_ptr + idx_seq)
|
||||
conv_state_batch_coord = tl.load(conv_state_indices_ptr + idx_seq).to(
|
||||
tl.int64)
|
||||
else:
|
||||
# cache_idx
|
||||
conv_state_batch_coord = idx_seq
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user