Skip to content

Add cumsum tensor op #2664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Add cumsum tensor op #2664

wants to merge 2 commits into from

Conversation

laggui
Copy link
Member

@laggui laggui commented Jan 6, 2025

Checklist

  • Confirmed that run-checks all script has been executed.
  • Made sure the book is up to date with changes in this PR.

Related Issues/PRs

#1722 #2099

Changes

Added tensor.cumsum(dim) operation

TODO:

  • JIT implementation w/ cubecl kernel
    • We have cubecl-reduce at this time but we might need to add cubecl-scan for this family of ops (some refs: wgsl simd cuda)

Testing

Unit test.

This was referenced Jan 6, 2025
Copy link
Contributor

github-actions bot commented Apr 3, 2025

This PR has been marked as stale because it has not been updated for over a month

@github-actions github-actions bot added the stale The issue or pr has been open for too long label Apr 3, 2025
@mush42
Copy link

mush42 commented May 30, 2025

This op is very important for many NAR TTS models, and it is blocking porting one of my open-source TTS models to burn.

@github-actions github-actions bot removed the stale The issue or pr has been open for too long label May 31, 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