Skip to content

[triton][beta] Fix budget-aware RLC crash on Blackwell by disabling Phase 5 (#1328)#1328

Closed
agron911 wants to merge 1 commit into
facebookexperimental:mainfrom
agron911:export-D101982801
Closed

[triton][beta] Fix budget-aware RLC crash on Blackwell by disabling Phase 5 (#1328)#1328
agron911 wants to merge 1 commit into
facebookexperimental:mainfrom
agron911:export-D101982801

Conversation

@agron911
Copy link
Copy Markdown
Contributor

@agron911 agron911 commented Apr 24, 2026

Summary:

Disable budget-aware layout conversion elimination (Phase 5, smem_budget > 0) which crashes on Blackwell with LLVM ERROR: Invalid out-dim size. Root cause: propagateSrcEncodingAndErase() skips scf::YieldOp during type rewriting, leaving scf::ForOp results with stale encodings that corrupt LinearLayout dimensions.

Also fix GenerateSubtiledRegion.cpp build break (CGAEncodingAttr::getDefault -> get1CTALayout).

Reviewed By: sfzhu93

Differential Revision: D101982801

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 24, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Apr 24, 2026

@agron911 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D101982801.

@meta-codesync meta-codesync Bot changed the title [triton][beta] Fix budget-aware RLC crash on Blackwell by disabling Phase 5 [triton][beta] Fix budget-aware RLC crash on Blackwell by disabling Phase 5 (#1328) Apr 24, 2026
@agron911 agron911 force-pushed the export-D101982801 branch from 71bac16 to 4878ac9 Compare April 24, 2026 18:04
…hase 5 (facebookexperimental#1328)

Summary:

Disable budget-aware layout conversion elimination (Phase 5, smem_budget > 0) which crashes on Blackwell with `LLVM ERROR: Invalid out-dim size`. Root cause: `propagateSrcEncodingAndErase()` skips `scf::YieldOp` during type rewriting, leaving `scf::ForOp` results with stale encodings that corrupt LinearLayout dimensions.

Also fix `GenerateSubtiledRegion.cpp` build break (`CGAEncodingAttr::getDefault` -> `get1CTALayout`).

Reviewed By: sfzhu93

Differential Revision: D101982801
agron911 added a commit to agron911/triton that referenced this pull request Apr 24, 2026
…hase 5 (facebookexperimental#1328)

Summary:

Disable budget-aware layout conversion elimination (Phase 5, smem_budget > 0) which crashes on Blackwell with `LLVM ERROR: Invalid out-dim size`. Root cause: `propagateSrcEncodingAndErase()` skips `scf::YieldOp` during type rewriting, leaving `scf::ForOp` results with stale encodings that corrupt LinearLayout dimensions.

Also fix `GenerateSubtiledRegion.cpp` build break (`CGAEncodingAttr::getDefault` -> `get1CTALayout`).

Reviewed By: sfzhu93

Differential Revision: D101982801
@agron911 agron911 force-pushed the export-D101982801 branch from 4878ac9 to a2d4454 Compare April 24, 2026 20:49
agron911 added a commit to agron911/triton that referenced this pull request Apr 24, 2026
…hase 5 (facebookexperimental#1328)

Summary:
Pull Request resolved: facebookexperimental#1328

Disable budget-aware layout conversion elimination (Phase 5, smem_budget > 0) which crashes on Blackwell with `LLVM ERROR: Invalid out-dim size`. Root cause: `propagateSrcEncodingAndErase()` skips `scf::YieldOp` during type rewriting, leaving `scf::ForOp` results with stale encodings that corrupt LinearLayout dimensions.

Also fix `GenerateSubtiledRegion.cpp` build break (`CGAEncodingAttr::getDefault` -> `get1CTALayout`).

Reviewed By: sfzhu93

Differential Revision: D101982801
@meta-codesync meta-codesync Bot closed this in 60b64af Apr 24, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Apr 24, 2026

This pull request has been merged in 60b64af.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant