WebNN hand-off study on Windows / RTX 3060 (N12.14)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 47/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript, web-dev
- Domain
- performance
Research direction
Start with bench/nrc/webnn-replay.ts and the existing results in bench/results/NRC-WEBNN-SYNC.md; reproduce the listed ctx, tensors, sync, route, and fold arms on Windows with an RTX 3060, using gemmC=zero for Chrome's ORT / DirectML backend. Record the results in the study and compare them with the existing Mac measurements and WGSL figures; a quiet-Mac rerun is optional if final absolute numbers are needed.
Written by the indexing model from the issue text.
Description
Task: N12.14 · Page: nrc WebNN replay (bench/nrc/webnn-replay.ts), results NRC-WEBNN-SYNC.md
The Mac half of the WebNN <-> WebGPU hand-off study is done (M5 Pro, Chrome 158, best effort): exportToGPU was the cost (44-50 ms per frame); going through JavaScript (route=cpu) costs 2.8-3.0 ms; a folded tensor (fold=8) gives ONE exported dispatch at 6.1-6.9 ms. That is still ~2x the whole WGSL cache frame and ~6x WGSL inference, so the recommendation stays portable WGSL (N12.12 found the same on Windows: WebNN 4.4-9.7x slower than WGSL on the 3060).
Open
- The same arms (
ctx,tensors,sync,route,fold) on Windows / RTX 3060 (Chrome's ORT / DirectML backend needsgemmC=zero, the default there). - A quiet-Mac rerun if the absolute numbers are to be final.
Low priority: this is a confirmation that WebNN does not beat WGSL for NRC inference, not a blocker for anything.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- Avg merge
- 15h 19m
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from pmndrs/pathtracer
-
enhancement volumes
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pmndrs/pathtracer#9 ·
-
documentation
Difficulty 5/5 Over a week Newbie friendliness 20/100
pmndrs/pathtracer#63 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
pmndrs/pathtracer#62 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
pmndrs/pathtracer#61 ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 20/100
pmndrs/pathtracer#60 ·
All issues in pmndrs/pathtracer
Similar issues
-
bug zoo
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/runntime#151 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
sidebandstudio/clawtrate#728 ·
Maintainers usually reply within 1 day
-
enhancement github_actions help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tranquilo-art/tranquilo-app#254 ·
Maintainers usually reply within 1 day
-
docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
DojoCodingLabs/hermit#73 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Maintainers usually reply within 1 day