Skip to content

Conversation

@li-plus
Copy link

@li-plus li-plus commented Sep 1, 2025

The current implementation of exclusive cumsum zero-pads the input at dim 1 and incorrectly slice the input along dim 0. For input with shape [32768, 32768], the output will be [32767, 32769], which is wrong semantically. This PR fixed this problem using narrow api to slice the tensor at the correct dim.

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.

1 participant