-
Notifications
You must be signed in to change notification settings - Fork 667
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
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 |
0f2a7ad
to
0f1e843
Compare
…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
This pull request was exported from Phabricator. Differential Revision: D77459476 |
0f1e843
to
9933084
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
…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
9933084
to
e529709
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
e529709
to
7e89b4f
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
7e89b4f
to
827c4f2
Compare
This pull request was exported from Phabricator. Differential Revision: D77459476 |
827c4f2
to
1260a57
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
This pull request was exported from Phabricator. Differential Revision: D77459476 |
1260a57
to
4b93b15
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
This pull request was exported from Phabricator. Differential Revision: D77459476 |
4b93b15
to
fa3f37b
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
…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
fa3f37b
to
564312a
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
564312a
to
27be2c0
Compare
…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
This pull request was exported from Phabricator. Differential Revision: D77459476 |
27be2c0
to
35dd366
Compare
This pull request was exported from Phabricator. Differential Revision: D77459476 |
This pull request has been merged in 3571258. |
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