Skip to content
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

Improve perf of kernel: _block_bucketize_sparse_features_cuda_kernel1 #2331

Closed

Conversation

AlbertDachiChen
Copy link
Contributor

Summary:
As titled, this diffs changes kernel to parallelize the work of _block_bucketize_sparse_features_cuda_kernel1 within a row.

The context here is that for IG DV365 models, we have row that is really long which makes the kernel slow.

I need to think more about how to improve _block_bucketize_sparse_features_cuda_kernel2. Publishing the changes for kernel 1 first because it is significantly faster

{F1455708370}

Differential Revision: D53585964

Copy link

netlify bot commented Feb 13, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit bb92b3b
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/65cfcef38abe6b00085d3940
😎 Deploy Preview https://deploy-preview-2331--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.

@AlbertDachiChen AlbertDachiChen force-pushed the export-D53585964 branch 2 times, most recently from 577c47f to 4e4fd52 Compare February 13, 2024 22:11
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

AlbertDachiChen added a commit to AlbertDachiChen/FBGEMM that referenced this pull request Feb 16, 2024
…pytorch#2331)

Summary:

As titled, this diffs changes kernel to parallelize the work of _block_bucketize_sparse_features_cuda_kernel1 within a row.

The context here is that for IG DV365 models, we have row that is really long which makes the kernel slow.

I need to think more about how to improve _block_bucketize_sparse_features_cuda_kernel**2**. Publishing the changes for kernel 1 first because it is significantly faster 

 {F1455708370}

Reviewed By: sryap

Differential Revision: D53585964
@facebook-github-bot
Copy link
Contributor

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

…pytorch#2331)

Summary:

As titled, this diffs changes kernel to parallelize the work of _block_bucketize_sparse_features_cuda_kernel1 within a row.

The context here is that for IG DV365 models, we have row that is really long which makes the kernel slow.

I need to think more about how to improve _block_bucketize_sparse_features_cuda_kernel**2**. Publishing the changes for kernel 1 first because it is significantly faster 

 {F1455708370}

Reviewed By: sryap

Differential Revision: D53585964
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in bbf83f1.

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