Skip to content

[cute] add fp8 dtypes to _torch_dtype_to_cutlass mapping#2422

Closed
yushangdi wants to merge 1 commit into
gh/yushangdi/1/basefrom
gh/yushangdi/1/head
Closed

[cute] add fp8 dtypes to _torch_dtype_to_cutlass mapping#2422
yushangdi wants to merge 1 commit into
gh/yushangdi/1/basefrom
gh/yushangdi/1/head

Conversation

@yushangdi
Copy link
Copy Markdown
Contributor

@yushangdi yushangdi commented May 14, 2026

Stack from ghstack (oldest at bottom):

Allow fp8 tensors (torch.float8_e4m3fn, torch.float8_e5m2) to flow through
the cute-backend kernel binding layer. Before this change, passing fp8
tensors to a helion.kernel(backend='cute') call would hit BackendUnsupported
at type-mapping time, before any MMA/codegen could be attempted.

This is pure plumbing — no MMA, lowering, or codegen behavior changes. fp8
kernels will still fail downstream until follow-up PRs wire fp8 through
mma_support and cute_mma codegen. The point of this PR is to move the
failure boundary forward so the next PR can be reviewed in isolation.

Authored with Claude.

Allow fp8 tensors (torch.float8_e4m3fn, torch.float8_e5m2) to flow through
the cute-backend kernel binding layer. Before this change, passing fp8
tensors to a helion.kernel(backend='cute') call would hit BackendUnsupported
at type-mapping time, before any MMA/codegen could be attempted.

This is pure plumbing — no MMA, lowering, or codegen behavior changes. fp8
kernels will still fail downstream until follow-up PRs wire fp8 through
mma_support and cute_mma codegen. The point of this PR is to move the
failure boundary forward so the next PR can be reviewed in isolation.

Authored with Claude.

[ghstack-poisoned]
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 14, 2026
@yushangdi yushangdi marked this pull request as draft May 14, 2026 00:19
@yushangdi
Copy link
Copy Markdown
Contributor Author

merged into #2423

@yushangdi yushangdi closed this May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant