Skip to content

[mlir] Default CPU lowering pipeline#61

Merged
adam-smnk merged 7 commits into
mainfrom
mlir-cpu-default-pipeline
Apr 8, 2026
Merged

[mlir] Default CPU lowering pipeline#61
adam-smnk merged 7 commits into
mainfrom
mlir-cpu-default-pipeline

Conversation

@adam-smnk
Copy link
Copy Markdown
Collaborator

Adds an example MLIR CPU pipeline that allows naive lowering of generic workloads.
Majority of KernelBench level1 and level2 kernels are added to the MLIR CPU path.

The default lowering focuses on end-to-end enablement. The achieved performance of the lowered code is currently secondary and not representative. The enabled kernels are used to establish baseline functional coverage.

MLIR compilation of the missing level1 and level2 kernels is currently not possible due:

  • missing lowering from torch IR ops
  • torch-mlir pass error
  • LLVM SmallVector capacity error

@adam-smnk adam-smnk merged commit 6b7353d into main Apr 8, 2026
15 checks passed
@adam-smnk adam-smnk deleted the mlir-cpu-default-pipeline branch April 10, 2026 13:46
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