microsoft / microsoft/onnxruntime

[Feature Request] Interested in developing Execution Provider using MLIR/LLVM - Is There Existing Work or Execution Provider based on MLIR or LLVM?

Open
#24,756 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the feature request

I'm interested in developing a CPU Execution Provider that leverages MLIR and LLVM infrastructure. Before I begin, I’d like to know if there’s any existing work, roadmap item, or ongoing effort in this area.

If not, I’d be happy to start exploring this and contribute to the project. Any guidance on approaching this within the current architecture would be greatly appreciated.

### Describe scenario use case

For example, RISC-V CPUs currently lack a community-maintained Execution Provider. Using MLIR and LLVM to build one would allow us to leverage compiler-driven automatic optimization like vectorization and target-specific code generation without requiring manual tuning. This makes it easier to support new or evolving CPU architectures efficiently

Contributor guide

Open the contributing guide

Research direction

Start by reviewing ONNX Runtime's current execution-provider architecture and checking for existing MLIR or LLVM efforts. Clarify whether a roadmap or implementation already exists, then define the scope and integration approach for a RISC-V CPU execution provider; the issue provides no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.