Skip to content

Move batched_complete_cumsum op to FBGEMM #4036

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

Closed
wants to merge 1 commit into from

Conversation

LinjianMa
Copy link
Contributor

Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/1121

X-link: facebookresearch/generative-recommenders#271

asynchronous_batched_complete_cumsum implements batched complete_cumsum in a single kernel to avoid writing for loop in python.
Move the kernel from generative_recommenders folder to FBGEMM so that it can be used in different models. The kernel has not been used in production yet so the change is safe.

Reviewed By: sryap, zhaozhul, q10

Differential Revision: D72906062

Summary:
X-link: facebookresearch/FBGEMM#1121

X-link: facebookresearch/generative-recommenders#271

`asynchronous_batched_complete_cumsum` implements batched complete_cumsum in a single kernel to avoid writing for loop in python.
Move the kernel from `generative_recommenders` folder to FBGEMM so that it can be used in different models. The kernel has not been used in production yet so the change is safe.

Reviewed By: sryap, zhaozhul, q10

Differential Revision: D72906062
Copy link

netlify bot commented Apr 28, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit b895dfa
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/680fe6750588680008965952
😎 Deploy Preview https://deploy-preview-4036--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72906062

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 3cef662.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants