Skip to content
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

Improve out-of-box performance for GEMM kernels variants #2379

Open
etiotto opened this issue Sep 27, 2024 · 2 comments
Open

Improve out-of-box performance for GEMM kernels variants #2379

etiotto opened this issue Sep 27, 2024 · 2 comments

Comments

@etiotto
Copy link
Contributor

etiotto commented Sep 27, 2024

@etiotto
Copy link
Contributor Author

etiotto commented Sep 27, 2024

For GEMM + preOp (e.g. exp) applied to one input of tt.dot (https://github.com/intel/intel-xpu-backend-for-triton/blob/main/benchmarks/triton_kernels_benchmark/gemm_preop_exp_benchmark.py) PR #2346 improve performance by 16%.

@etiotto
Copy link
Contributor Author

etiotto commented Oct 2, 2024

For GEMM + matrix add (postOp), PR #2400 improves performance from ~66TFlops to ~215TFlops for a 8Kx8Kx8K shape (other shapes also improve).

Image

@etiotto etiotto closed this as completed Oct 2, 2024
@etiotto etiotto reopened this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants