Skip to content

cuda: reject Blackwell in the hopper wgmma gate - #47

Merged
bri-prism merged 1 commit into
prismfrom
fix/hopper-q1-blackwell-gate
Jun 12, 2026
Merged

cuda: reject Blackwell in the hopper wgmma gate#47
bri-prism merged 1 commit into
prismfrom
fix/hopper-q1-blackwell-gate

Conversation

@bri-prism

Copy link
Copy Markdown

One-line correctness gate fix: the opt-in Hopper path's kernels are sm_90a-only fatbins, but cc < 900 alone admits Blackwell (cc 1200+), where the wgmma kernels do not exist and the launch fails. Reject cc >= GGML_CUDA_CC_BLACKWELL. Blackwell gets its own tcgen05-based path (investigation underway); until then it falls through to stock MMQ, which already has native MXFP4 handling there.

The path's kernels are sm_90a-only fatbins (wgmma does not exist on
Blackwell); cc >= 900 alone admits cc 1200+ where the launch fails.
Blackwell support is a separate tcgen05 path.
@bri-prism
bri-prism requested a review from khosravipasha June 11, 2026 18:25
@bri-prism
bri-prism merged commit c85e97a into prism Jun 12, 2026
bri-prism added a commit that referenced this pull request Jun 12, 2026
The path's kernels are sm_90a-only fatbins (wgmma does not exist on
Blackwell); cc >= 900 alone admits cc 1200+ where the launch fails.
Blackwell support is a separate tcgen05 path.
@khosravipasha
khosravipasha deleted the fix/hopper-q1-blackwell-gate branch June 27, 2026 21:58
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