Skip to content

Implement SM120 kernel for tf32_hc_prenorm_gemm#319

Closed
ergodic-flow wants to merge 1 commit into
deepseek-ai:mainfrom
ergodic-flow:feature/sm120-support-v0
Closed

Implement SM120 kernel for tf32_hc_prenorm_gemm#319
ergodic-flow wants to merge 1 commit into
deepseek-ai:mainfrom
ergodic-flow:feature/sm120-support-v0

Conversation

@ergodic-flow

Copy link
Copy Markdown

This change introduces a new kernel for SM120 architecture (RTX 5090 and 6000 Pro) specifically for tf32_hc_prenorm_gemm as mentioned in issue #317 and issue #236 .

I primarily copied what exists for sm90, and made some adaptions until tests passed. The meat of the change will be in deep_gemm/include/deep_gemm/impls/sm120_tf32_hc_prenorm_gemm.cuh and a small shim around PTX in deep_gemm/include/deep_gemm/mma/sm120.cuh. As far as I can tell, the test test_hyperconnection.py appears to be passing, though the rest of the test suite is not working for me on SM120.

This is a first attempt, and I am very willing to keep working at it, so please take a look if / when you have time. Supporting a new arch is a lot of work, and I hope we the community can help! Thanks, and congrats on your recent release. If the PR is not to your liking, please close it!

This change introduces a new kernel for SM120 architecture (RTX 5090 and 6000 Pro)
specifically for tf32_hc_prenorm_gemm .
@jasl

jasl commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution!
I'm working on the same work, and you inspired me.
I cherry-picked your work and pushed forward, feel free to review #318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants