Skip to content

[JAX] Return max_logit and softmax aux stats from TE JAX fused attn#3112

Draft
KshitijLakhani wants to merge 4 commits into
NVIDIA:mainfrom
KshitijLakhani:klakhani/feat/return-softmax-stats
Draft

[JAX] Return max_logit and softmax aux stats from TE JAX fused attn#3112
KshitijLakhani wants to merge 4 commits into
NVIDIA:mainfrom
KshitijLakhani:klakhani/feat/return-softmax-stats

Conversation

@KshitijLakhani

Copy link
Copy Markdown
Collaborator

Description

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

Fixes #2945

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

…x aux to the user from TE JAX fused attn output

Signed-off-by: Kshitij Lakhani <klakhani@nvidia.com>
… and softmax through the JAX fused attn primitives

Signed-off-by: Kshitij Lakhani <klakhani@nvidia.com>
Signed-off-by: Kshitij Lakhani <klakhani@nvidia.com>
…JAX fused attn tests

Signed-off-by: Kshitij Lakhani <klakhani@nvidia.com>
@KshitijLakhani KshitijLakhani self-assigned this Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose max_logit (and softmax aux statistics) from JAX fused attention higher-level APIs

1 participant