Skip to content

feat(backend): add FP8 and INT4 quantized Tensor Core PTX emitters - #8

Merged
rahadbhuiya merged 2 commits into
Exploidus:mainfrom
rahadbhuiya:feat/fp8-int4-tensor-core
Nov 27, 2026
Merged

rahadbhuiya merged 2 commits into
Exploidus:mainfrom
rahadbhuiya:feat/fp8-int4-tensor-core

Conversation

@rahadbhuiya

Copy link
Copy Markdown
Member

Added DType::F8E4M3, DType::F8E5M2, and packed DType::I4 in tessera-ir, along with quantized Tensor Core PTX codegen in tessera-backend-ptx:

  • Emits mma.sync.aligned.m16n8k32.row.col.f32.{e4m3,e5m2}.{e4m3,e5m2}.f32 for Ada/Hopper (sm_89+).
  • Emits mma.sync.aligned.m16n8k32.row.col.s32.s4.s4.s32 for packed INT4 inputs.

Verified PTX generation with unit tests (sm_89, sm_90, sm_86) and executed the packed INT4 m16n8k32 kernel live on RTX 3060 (quantized_gpu).

Closes #4

@rahadbhuiya
rahadbhuiya force-pushed the feat/fp8-int4-tensor-core branch from 18c50ab to 305a2b2 Compare November 27, 2026 17:30
@rahadbhuiya
rahadbhuiya force-pushed the feat/fp8-int4-tensor-core branch from 305a2b2 to 7be5bcf Compare November 27, 2026 17:32
@rahadbhuiya
rahadbhuiya merged commit d631379 into Exploidus:main Nov 27, 2026
2 checks passed
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.

feat(backend): FP8 and INT4 quantized Tensor Core execution for Ada/Hopper

1 participant