mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-19 12:47:16 +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:
|
if IS_CONTINUOUS_BATCHING:
|
||||||
# cache_idx
|
# 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:
|
else:
|
||||||
# cache_idx
|
# cache_idx
|
||||||
conv_state_batch_coord = idx_seq
|
conv_state_batch_coord = idx_seq
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user