microsoft / microsoft/onnxruntime
[Feature Request] Support WebGPU EP in onnxruntime-node (NodeJS)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
Describe the feature request
Since onnxruntime-node has very limited EP support (cpu-only on Windows/MacOS + cuda on Linux) and it seems possible to add WebGPU support to NodeJS using dawn.node (https://github.com/dawn-gpu/node-webgpu), I am wondering if it would be possible to add the WebGPU EP currently available in onnxruntime-web to onnxruntime-node, too.
Describe scenario use case
This could help running models more efficiently in any OS, not just windows (and with better hardware support).
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
Start by comparing the existing WebGPU EP in onnxruntime-web with the onnxruntime-node package and the dawn.node integration referenced in the issue. Determine the cross-platform entry points and validation needed for NodeJS WebGPU support; done means onnxruntime-node can use the WebGPU EP across supported operating systems.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, node.js
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100