-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Eliminate unnecessary copy in CUDA addmm with sparse compressed block operand #114484
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
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/114484
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 5cb2195 with merge base 56a95af ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…essed block operand" As in the title. As a result, `nn.linear(<strided tensor>, <BSR tensor>, bias=<strided tensor>)` performance increases as follows (`float16`, `NVIDIA A100-SXM4-80GB`): - 256x256 weights, speed up is 14..27 % - 512x512 weights, speed up is 9..25 % - 1024x1024 weights, speed up is 5..20 % - 2048x2048 weights, speed up is 3..16 % - 4092x4092 weights, speed up is 2..9 % [ghstack-poisoned]
…essed block operand" As in the title. As a result, `nn.linear(<strided tensor>, <BSR tensor>, bias=<strided tensor>)` performance increases as follows (`float16`, `NVIDIA A100-SXM4-80GB`): - 256x256 weights, speed up is 14..27 % - 512x512 weights, speed up is 9..25 % - 1024x1024 weights, speed up is 5..20 % - 2048x2048 weights, speed up is 3..16 % - 4092x4092 weights, speed up is 2..9 % [ghstack-poisoned]
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
As in the title.
As a result,
nn.linear(<strided tensor>, <BSR tensor>, bias=<strided tensor>)performance increases as follows (float16,NVIDIA A100-SXM4-80GB):Stack from ghstack (oldest at bottom):