Skip to content

[WIP] Triton extensions research#6030

Closed
quinnlp wants to merge 7 commits into
mainfrom
quinnlp/ext-plugin-research
Closed

[WIP] Triton extensions research#6030
quinnlp wants to merge 7 commits into
mainfrom
quinnlp/ext-plugin-research

Conversation

@quinnlp
Copy link
Copy Markdown
Contributor

@quinnlp quinnlp commented Feb 5, 2026

New contributor declaration

  • I am not making a trivial change, such as fixing a typo in a comment.

  • I have written a PR description following these
    rules.

  • I have run pre-commit run --from-ref origin/main --to-ref HEAD.

  • Select one of the following.

    • I have added tests.
      • /test for lit tests
      • /unittest for C++ tests
      • /python/test for end-to-end tests
    • This PR does not need a test because FILL THIS IN.
  • Select one of the following.

    • I have not added any lit tests.
    • The lit tests I have added follow these best practices,
      including the "tests should be minimal" section. (Usually running Python code
      and using the instructions it generates is not minimal.)

This commit applies a patch from an open PR in the triton repo that
implements the build support for the triton-ext repo.

PR: triton-lang/triton#9146
Commit: f54029c01670023920399b1b61d55c567650a444
- Update the compile-triton.sh script to build intel-triton by introducing
  the --llvm-shared option that enables building with llvm shared libraries.
- Update the find module for the SPIRVToLLVMTranslator subproject to patch the
  subproject's cmake configuration with a change that ensures it finds the LLVM
  config package used by the main project instead of falling back to the
  find module for LLVM, which always requires that static LLVM libraries are
  available.
@quinnlp quinnlp force-pushed the quinnlp/ext-plugin-research branch from bd2c152 to 9756567 Compare February 10, 2026 16:50
@whitneywhtsang
Copy link
Copy Markdown
Contributor

FYI @quinnlp, spirv translator is updated, you can rebase and remove the corresponding changes in this PR.

@quinnlp
Copy link
Copy Markdown
Contributor Author

quinnlp commented Feb 25, 2026

@whitneywhtsang now that triton-lang/triton#9549 and triton-lang/triton#9550 are being worked on, I've applied them both on this branch (with appropriate fixes): #6203 and I've been able to get my extension working!

So, the changes in this PR are no longer necessary.

@quinnlp quinnlp closed this Feb 25, 2026
@quinnlp quinnlp deleted the quinnlp/ext-plugin-research branch March 18, 2026 18:20
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.

2 participants