Description
(extracted from #771 (comment))
I'm requesting an updated TAG review of WebNN API - previous TAG review: #771
Since the initial Candidate Recommendation Snapshot and the previous TAG review, the Working Group has gathered further implementation experience and added new operations and data types needed for well-known transformers webmachinelearning/webnn#375. In addition, the group has removed selected features informed by this implementation experience: higher-level operations that can be expressed in terms of lower-level primitives in a performant manner, and support for synchronous execution. The group has also updated the specification to use modern authoring conventions to improve interoperability and precision of normative definitions and is developing a new feature, a webmachinelearning/webnn#482, to improve performance and interoperability between the WebNN, WebGPU APIs and purpose-built hardware for ML.
The removal of support for synchronous execution is in-line with TAG's guidance (removal discussed in #531 and moving toward JSPI that is coming finally.
- Explainer¹ (minimally containing user needs and example code): https://github.com/webmachinelearning/webnn/blob/main/explainer.md
- Specification URL: https://www.w3.org/TR/webnn/
- Tests: https://github.com/web-platform-tests/wpt/tree/master/webnn
- User research: N/A
- Security and Privacy self-review²: Self-Review Questionnaire: Security and Privacy webmachinelearning/webnn#119
- GitHub repo (if you prefer feedback filed there): https://github.com/webmachinelearning/webnn/
- Primary contacts (and their relationship to the specification):
- Anssi Kostiainen, @anssiko, Intel (chair)
- Dominique Hazael-Massieux, @dontcallmedom, W3C (staff contact)
- Ningxin Hu, @huningxin, Intel (editor)
- Dwayne Robinson, @fdwr, Microsoft (editor)
- Organization(s)/project(s) driving the specification: W3C Web Machine Learning Working Group
- Key pieces of existing multi-stakeholder (e.g. developers, implementers, civil society) support, review or discussion of this specification:
- Chromium comments: https://chromestatus.com/feature/5738583487938560 (in development)
- Mozilla comments: N/A
- WebKit comments: N/A (but Apple recently joined the WG)
Further details:
- I have reviewed the TAG's Web Platform Design Principles
- Relevant time constraints or deadlines: expecting to republish as Candidate Recommendation Snapshot in Q1 2024
- The group where the work on this specification is currently being done: W3C Web Machine Learning Working Group
- Major unresolved issues with or opposition to this specification:
- This work is being funded by:
You should also know that...
[please tell us anything you think is relevant to this review]
We'd prefer the TAG provide feedback as open issues in our GitHub repo for each point of feedback