-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bf16xint16_gemm operator: add --transpose option (#2466)
Summary: `--transpose` will make this benchmark test a int16 x bf16 mm instead of a bf16 x int16. This matters for H100, because the wgmma instruction can take registers only on the LHS. So int16 x bf16 is probably the easier one to support efficiently. Pull Request resolved: #2466 Test Plan: In OSS: ran `python run_benchmark.py triton --op bf16xint16_gemm --transpose` Internally, ran `buck2 run mode/opt //pytorch/benchmark:triton -- --op bf16xint16_gemm --transpose` Internally, we run into the issue fixed by triton-lang/triton#4695; but otherwise, they both run. Reviewed By: aakhundov Differential Revision: D63294109 Pulled By: davidberard98 fbshipit-source-id: 3ea05bb09e62f51c405ae538726caf80e1ba0d63
- Loading branch information
1 parent
6a089a4
commit 0ab0e47
Showing
2 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters