microsoft / microsoft/onnxruntime
[Feature Request] Add vulkan execution provider
Open
Nobody has claimed this yet.
feature request
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
Describe the feature request
Please consider adding Vulkan as an execution provider. Vulkan offers several advantages over DirectML, Rocm, Migraph, and Cuda:
- Easier Compilation: Vulkan simplifies the compilation process, requiring fewer and lighter dependencies across both Linux and Windows.
- Lightweight Dependencies: Vulkan eliminates the need for heavy dependencies and large packages required by Cuda on Linux.
- Cross-Platform Efficiency: Unlike Rocm, Vulkan operates efficiently on both Linux and Windows without the burden of extensive dependencies.
- Reduced Footprint: On Windows, Vulkan avoids the need for the 300MB dependencies required by Cuda.
- Wide Compatibility: Vulkan works seamlessly out-of-the-box on Windows with a variety of GPUs.
- Unified Provider: A single Vulkan execution provider can support GPUs/CPUs across AMD, Nvidia, and Intel platforms.
By the way, the Vulkan license is open for both commercial and non-commercial use.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The request names no files, tests, or entry points. Start by reviewing ONNX Runtime's existing DirectML, ROCm, MIGraphX, and CUDA execution providers, then determine the design and validation needed for a Vulkan provider supporting the stated platforms and GPUs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100