Skip to content

Switch triton_shared submodule to Meta fork#6

Merged
erwei-xilinx merged 1 commit into
amd:mainfrom
erwei-xilinx:switch-triton-shared-to-meta-fork
Feb 24, 2026
Merged

Switch triton_shared submodule to Meta fork#6
erwei-xilinx merged 1 commit into
amd:mainfrom
erwei-xilinx:switch-triton-shared-to-meta-fork

Conversation

@erwei-xilinx

Copy link
Copy Markdown
Collaborator

Summary

  • Microsoft's triton-shared repo is no longer maintained ("This repository is no longer maintained")
  • Switch the third_party/triton_shared submodule to Meta's actively maintained fork at facebookincubator/triton-shared
  • Regenerate triton_shared.patch against the new base commit

Details

The Meta fork was created from Microsoft's commit 08684f9. The submodule is pinned to 1af6a5f (tip of Meta's main branch). The only differences in the new base are Meta copyright headers added to source files and a TritonSan build fix — no functional code changes.

The regenerated patch produces the same patched working tree and has been verified to apply cleanly via scripts/apply_patches.py.

LLVM alignment: All dependencies (Triton, mlir-aie, mlir-air) remain aligned on LLVM ebf5d9ef. No version bumps required.

Files changed

  • .gitmodules — URL updated from microsoft/triton-shared to facebookincubator/triton-shared
  • third_party/triton_shared — Pinned to Meta fork commit 1af6a5f
  • third_party/triton_shared.patch — Regenerated against new base

Test plan

  • scripts/apply_patches.py applies cleanly
  • CI build passes
  • NPU tests pass (if hardware available)

🤖 Generated with Claude Code

Microsoft's triton-shared repo (github.com/microsoft/triton-shared) is
no longer maintained. Switch to the actively maintained Meta fork at
github.com/facebookincubator/triton-shared.

The Meta fork was created from Microsoft's commit 08684f9. The submodule
is pinned to 1af6a5f (tip of Meta's main branch). The triton_shared.patch
has been regenerated against the new base.

No functional change — the underlying code is identical, and the patch
produces the same patched working tree.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erwei-xilinx erwei-xilinx merged commit fd6d571 into amd:main Feb 24, 2026
7 of 8 checks passed
@erwei-xilinx erwei-xilinx deleted the switch-triton-shared-to-meta-fork branch February 24, 2026 23:49
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