Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
86f3ac21
Unverified
Commit
86f3ac21
authored
Jul 14, 2025
by
Thomas Parnell
Committed by
GitHub
Jul 14, 2025
Browse files
Fix overflow indexing in causal_conv1d kernel (#20938)
Signed-off-by:
Thomas Parnell
<
tpa@zurich.ibm.com
>
parent
149f2435
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/model_executor/layers/mamba/ops/causal_conv1d.py
vllm/model_executor/layers/mamba/ops/causal_conv1d.py
+2
-1
No files found.
vllm/model_executor/layers/mamba/ops/causal_conv1d.py
View file @
86f3ac21
...
@@ -92,7 +92,8 @@ def _causal_conv1d_fwd_kernel( # continuous batching
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment