microsoft / microsoft/onnxruntime

[Feature Request] Support WebGPU EP in onnxruntime-node (NodeJS)

Open
#26,216 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ep:WebGPU feature request platform:web
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.