Add LLM-generated level 1 kernels for Triton CPU#74
Merged
Conversation
Co-authored-by: Marcin Spoczynski <marcin@spoczynski.com>
This was referenced May 27, 2026
sandlbn
approved these changes
May 31, 2026
Collaborator
sandlbn
left a comment
There was a problem hiding this comment.
LGTM, one note I temporary hardcoded mlir install to see if it's passing CI
adam-smnk
approved these changes
Jun 1, 2026
Comment on lines
+67
to
+68
| "lighthouse; sys_platform == 'linux' and python_version < '3.13'", | ||
| "torch-mlir @ https://github.com/llvm/torch-mlir-release/releases/download/dev-wheels/torch_mlir-20260331.768-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl ; sys_platform == 'linux' and platform_machine == 'x86_64' and python_version == '3.12'", |
Collaborator
There was a problem hiding this comment.
The explicit torch-mlir dependency shouldn't be needed anymore after lighthouse bump.
Let's keep the extra platform and version restrictions for the lighthouse itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are correctness-first kernels without autotuning (just using a single config with small, CPU-compatible block sizes). Input shapes for testing are small, but I tried to choose them so that multiple programs are launched.