Skip to content

Improve perf of kernel: _block_bucketize_sparse_features_cuda_kernel1#2331

Closed
AlbertDachiChen wants to merge 1 commit into
pytorch:mainfrom
AlbertDachiChen:export-D53585964
Closed

Improve perf of kernel: _block_bucketize_sparse_features_cuda_kernel1#2331
AlbertDachiChen wants to merge 1 commit into
pytorch:mainfrom
AlbertDachiChen:export-D53585964

Conversation

@AlbertDachiChen

Copy link
Copy Markdown
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

@netlify

netlify Bot commented Feb 13, 2024

Copy link
Copy Markdown

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
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
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