Skip to content

fix(CuTeDSL): correct FP4 tensor K dimension in grouped blockscaled GEMM#3102

Open
Hale423 wants to merge 1 commit intoNVIDIA:mainfrom
Hale423:fix/group_blockscale_gemm
Open

fix(CuTeDSL): correct FP4 tensor K dimension in grouped blockscaled GEMM#3102
Hale423 wants to merge 1 commit intoNVIDIA:mainfrom
Hale423:fix/group_blockscale_gemm

Conversation

@Hale423
Copy link

@Hale423 Hale423 commented Mar 13, 2026

Fixes #3057"

Float4E2M1FN packs 2 elements per byte, so the K storage dimension
must be halved (k // 2) when creating int8 device tensors for A and B.

This matches the existing correct handling in
dense_blockscaled_gemm_persistent.py (line 2493-2498).

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.

[BUG] nvpf4 tensor creation looks incorrect

1 participant