Skip to content

[PyT] Common] Add sm12x support in TE - #4030

Draft
KshitijLakhani wants to merge 5 commits into
NVIDIA:mainfrom
KshitijLakhani:klakhani/maint/sm12x-pyt-support-v2
Draft

KshitijLakhani wants to merge 5 commits into
NVIDIA:mainfrom
KshitijLakhani:klakhani/maint/sm12x-pyt-support-v2

Conversation

@KshitijLakhani

Copy link
Copy Markdown
Collaborator

Description

Please include a brief summary of the changes, relevant motivation and context.

Fixes # (issue)

Type of change

  • Documentation change (change only to the documentation, either a fix or a new content)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Infra/Build change
  • Code refactoring

Changes

Please list the changes introduced in this PR:

  • Change A
  • Change B

Checklist:

  • I have read and followed the contributing guidelines
  • The functionality is complete
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Avoid incorrect K/V gradients until the upstream fix is qualified.

Signed-off-by: Kshitij Lakhani <[email protected]>
Keep the transposed representation on older runtimes and share the capability check with PyTorch.

Signed-off-by: Kshitij Lakhani <[email protected]>
Keep FP8 current scaling as the default and reject explicit MXFP8 on older runtimes.

Signed-off-by: Kshitij Lakhani <[email protected]>
Use deterministic operands and an FP32-dequantized reference for the ordinary FP8 layout test. Keep the MXFP8 default TODO with a line-scoped pylint suppression and simplify the FA4 variable-length guard.

Signed-off-by: Kshitij Lakhani <[email protected]>
@KshitijLakhani KshitijLakhani self-assigned this Dec 4, 2026
@KshitijLakhani KshitijLakhani changed the title Enable sm12x support [PyT] Common] Add sm12x support in TE Dec 4, 2026

This branch has not been deployed

No deployments
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.

1 participant