-
Notifications
You must be signed in to change notification settings - Fork 608
Invoke AMD specific kernel reorder_batched_ad_indices_kernel_vec #4412
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for pytorch-fbgemm-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This pull request was exported from Phabricator. Differential Revision: D77459476 |
a28c5fc
to
f8f2d34
Compare
This pull request was exported from Phabricator. Differential Revision: D77459476 |
…orch#4412) Summary: X-link: facebookresearch/FBGEMM#1483 For the benchmark in the codebase, the larger the profuct of length and num-ads is, the better performance. Two optimization: 1. Vector loading in a warp. 2. The product of batch-size and table-size determines the # of thread blocks (https://www.internalfb.com/code/fbsource/[cecfed562b79afad0eb9c44259141f50352da342]/fbcode/deeplearning/fbgemm/fbgemm_gpu/src/sparse_ops/sparse_reorder_batched_ad.cu?lines=361). In MRS models, we expect more thread blocks in our user cases. As such, we shrink the block size to achieve more thread blocks, thus improving compute utilization. Performance results and local test benchmarks: D77066925 Differential Revision: D77459476
f8f2d34
to
2b8ecc2
Compare
…orch#4412) Summary: X-link: facebookresearch/FBGEMM#1483 For the benchmark in the codebase, the larger the profuct of length and num-ads is, the better performance. Two optimization: 1. Vector loading in a warp. 2. The product of batch-size and table-size determines the # of thread blocks (https://www.internalfb.com/code/fbsource/[cecfed562b79afad0eb9c44259141f50352da342]/fbcode/deeplearning/fbgemm/fbgemm_gpu/src/sparse_ops/sparse_reorder_batched_ad.cu?lines=361). In MRS models, we expect more thread blocks in our user cases. As such, we shrink the block size to achieve more thread blocks, thus improving compute utilization. Performance results and local test benchmarks: D77066925 Differential Revision: D77459476
2b8ecc2
to
2746017
Compare
This pull request was exported from Phabricator. Differential Revision: D77459476 |
…orch#4412) Summary: Pull Request resolved: pytorch#4412 X-link: facebookresearch/FBGEMM#1483 For the benchmark in the codebase, the larger the profuct of length and num-ads is, the better performance. Two optimization: 1. Vector loading in a warp. 2. The product of batch-size and table-size determines the # of thread blocks (https://www.internalfb.com/code/fbsource/[cecfed562b79afad0eb9c44259141f50352da342]/fbcode/deeplearning/fbgemm/fbgemm_gpu/src/sparse_ops/sparse_reorder_batched_ad.cu?lines=361). In MRS models, we expect more thread blocks in our user cases. As such, we shrink the block size to achieve more thread blocks, thus improving compute utilization. Performance results and local test benchmarks: D77066925 Differential Revision: D77459476
2746017
to
0f2a7ad
Compare
This pull request was exported from Phabricator. Differential Revision: D77459476 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D77459476 |
…orch#4412) Summary: Pull Request resolved: pytorch#4412 X-link: facebookresearch/FBGEMM#1483 For the benchmark in the codebase, the larger the profuct of length and num-ads is, the better performance. Two optimization: 1. Vector loading in a warp. 2. The product of batch-size and table-size determines the # of thread blocks (https://www.internalfb.com/code/fbsource/[cecfed562b79afad0eb9c44259141f50352da342]/fbcode/deeplearning/fbgemm/fbgemm_gpu/src/sparse_ops/sparse_reorder_batched_ad.cu?lines=361). In MRS models, we expect more thread blocks in our user cases. As such, we shrink the block size to achieve more thread blocks, thus improving compute utilization. Performance results and local test benchmarks: D77066925 Differential Revision: D77459476
0f2a7ad
to
0f1e843
Compare
This pull request was exported from Phabricator. Differential Revision: D77459476 |
Summary:
For the benchmark in the codebase, the larger the profuct of length and num-ads is, the better performance.
Two optimization:
Performance results and local test benchmarks: D77066925
Differential Revision: D77459476