-
Notifications
You must be signed in to change notification settings - Fork 511
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
Add deep gemm with tma pre allocated #3287
base: main
Are you sure you want to change the base?
Conversation
# Auto-tuning with compilation | ||
from deep_gemm.jit_kernels.gemm import get_best_configs, get_num_sms, includes, jit_tuner, template | ||
num_sms = get_num_sms() | ||
block_m, block_n, num_stages, num_tma_multicast, smem_size = get_best_configs(m, n, k, 1, num_sms) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latest deepgemm return 6 values.
https://github.com/deepseek-ai/DeepGEMM/blob/3b3783d06cd4d06ac4ba048633e604151d1ee535/deep_gemm/jit_kernels/gemm.py#L111C5-L111C11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, it would be better if we can add a logger.debug when dispatching gemm implementation.
Regression tests are required.