Skip to content

Update triton-shared submodule; remove deprecated TritonToLinalg pass#8

Merged
erwei-xilinx merged 1 commit into
mainfrom
update-triton-shared-rm-triton-to-linalg
Feb 28, 2026
Merged

Update triton-shared submodule; remove deprecated TritonToLinalg pass#8
erwei-xilinx merged 1 commit into
mainfrom
update-triton-shared-rm-triton-to-linalg

Conversation

@erwei-xilinx

Copy link
Copy Markdown
Collaborator

Summary

  • Update third_party/triton_shared submodule from 1af6a5f to 209a064 (latest facebookincubator/triton-shared main)
  • Regenerate triton_shared.patch — removes ~5500 lines of redundant TritonToLinalg deletion hunks now handled upstream
  • Update README triton-shared link to point to facebookincubator fork

The upstream facebookincubator/triton-shared merged PR #1 which removes the deprecated monolithic TritonToLinalg pass. Our backend exclusively uses --triton-to-linalg-experimental (compiler.py:78), so this has no functional impact.

Test plan

  • Patches apply cleanly (ninja -Cbuild reapply-patches)
  • Build succeeds (pip install . --no-build-isolation with venv per README)
  • Matmul example runs end-to-end on NPU hardware (AIE2)
  • Results match unmodified main (same ~3% BF16 numerical variance)

🤖 Generated with Claude Code

@erwei-xilinx erwei-xilinx force-pushed the update-triton-shared-rm-triton-to-linalg branch from 6d16210 to 06e2d42 Compare February 27, 2026 22:33
Update triton_shared submodule from 1af6a5f to 209a064 (latest
facebookincubator/triton-shared main), which removes the deprecated
monolithic TritonToLinalg pass. Regenerate triton_shared.patch to
remove redundant TritonToLinalg deletion hunks now handled upstream.

The amd_triton_npu backend exclusively uses --triton-to-linalg-experimental
(TritonArithToLinalg + TritonToLinalgExperimental), so this removal has
no functional impact. Also update README triton-shared link to point to
the facebookincubator fork.

Tested: full build + matmul on NPU hardware (AIE2) — identical results
to unmodified main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erwei-xilinx erwei-xilinx merged commit a7876e8 into main Feb 28, 2026
8 of 9 checks passed
@erwei-xilinx erwei-xilinx deleted the update-triton-shared-rm-triton-to-linalg branch February 28, 2026 00:03
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