"tests/entrypoints/openai/test_embedding_long_text.py" did not exist on "0b1bdac6af33b890a4d68321df05e71a1ba43dc4"
Unverified Commit 86f3ac21 authored by Thomas Parnell's avatar Thomas Parnell Committed by GitHub
Browse files

Fix overflow indexing in causal_conv1d kernel (#20938)


Signed-off-by: default avatarThomas Parnell <tpa@zurich.ibm.com>
parent 149f2435
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment