Skip to content

Conversation

@santhnm2
Copy link
Contributor

@santhnm2 santhnm2 commented Sep 12, 2025

Skips padding tokens in _selective_scan_update_kernel and _ssd_chunk_state_fwd_kernel, where padding tokens are defined as having seq_idx < 0 or state_batch_indices < 0. This is to ensure shapes do not have to change when using CUDA graphs with padding. Addresses #783.

@tridao tridao merged commit 4f77d53 into state-spaces:main Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants