Skip to content

Revert "[Attention] Remove MATH from ScaledDotProductAttention default backends (#3080)" - #3135

Merged
fegin merged 5 commits into
mainfrom
gh/fegin/115/head
Apr 28, 2026
Merged

fegin merged 5 commits into
mainfrom
gh/fegin/115/head

Conversation

@fegin

@fegin fegin commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

This reverts commit 112fd92.

After landing #3080, many CI jobs report "no kernel" errors because
without MATH in the default backend list SDPA cannot dispatch for
several training shapes/configurations. Restoring MATH as a fallback
unblocks CI; we can revisit a narrower fix later.

**Any lint errors are pre-existing. **

fegin added 2 commits April 28, 2026 11:34
[ghstack-poisoned]
[ghstack-poisoned]
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 28, 2026
@fegin
fegin changed the base branch from gh/fegin/115/base to main April 28, 2026 18:35
@fegin
fegin changed the base branch from main to gh/fegin/115/base April 28, 2026 18:35
@wwwjn

wwwjn commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

This is causing lint failure. Our lint seems only check file being changed in current PR

Comment thread scripts/generate/test_generate.py Outdated
{
"tok_embeddings": RowwiseParallel(input_layouts=Replicate()),
"lm_head": ColwiseParallel(output_layouts=Replicate()),
"output": ColwiseParallel(output_layouts=Replicate()),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should still be lm_head, this is introduced in ChunkedLoss PR

@fegin

fegin commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor Author

@wwwjn That's not true. I'm pretty sure the lint CI failure is pre-existing.

fegin added a commit that referenced this pull request Apr 28, 2026
…t backends (#3080)"

This reverts commit 112fd92.

After landing #3080, many CI jobs report "no kernel" errors because
without MATH in the default backend list SDPA cannot dispatch for
several training shapes/configurations. Restoring MATH as a fallback
unblocks CI; we can revisit a narrower fix later.


ghstack-source-id: d48523b
Pull-Request: #3135
fegin added 2 commits April 28, 2026 12:32
[ghstack-poisoned]
[ghstack-poisoned]
fegin added a commit that referenced this pull request Apr 28, 2026
…t backends (#3080)"

This reverts commit 112fd92.

After landing #3080, many CI jobs report "no kernel" errors because
without MATH in the default backend list SDPA cannot dispatch for
several training shapes/configurations. Restoring MATH as a fallback
unblocks CI; we can revisit a narrower fix later.


ghstack-source-id: 86193fa
Pull-Request: #3135
[ghstack-poisoned]
fegin added a commit that referenced this pull request Apr 28, 2026
…t backends (#3080)"

This reverts commit 112fd92.

After landing #3080, many CI jobs report "no kernel" errors because
without MATH in the default backend list SDPA cannot dispatch for
several training shapes/configurations. Restoring MATH as a fallback
unblocks CI; we can revisit a narrower fix later.

ghstack-source-id: 4a377f1
Pull-Request: #3135
@fegin
fegin changed the base branch from gh/fegin/115/base to main April 28, 2026 20:09
@fegin
fegin merged commit 8313428 into main Apr 28, 2026
8 of 12 checks passed
@fegin
fegin deleted the gh/fegin/115/head branch April 28, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td ciflow/8gpu 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.

3 participants