Closed anssiko closed 1 year ago
IIRC the text "base linear algebra operations are out of scope" was added to the initial charter to clarify the WebNN API spec does not try to align with the BLAS APIs, referring to the Basic Linear Algebra Subprograms spec. Some of those ops make sense in the WebNN API context, but alignment with the full BLAS API was a non-goal.
We could possibly clarify this text, proposal:
To avoid overlap with existing work, alignment with the Basic Linear Algebra Subprograms (BLAS) interface is out of scope. The WebGL and WebGPU shaders and WebAssembly SIMD are expected to address the BLAS compatibility requirement, see the Coordination section for details.
There are a number of BLAS libraries that could assist in implementation of the WebNN API. Also, there seems to be experimental BLAS implementations using WebGPU https://github.com/milhidaka/webgpu-blas and WebGL https://github.com/waylonflinn/weblas, maybe also a Wasm port exists for some of the libs.
(Related to the WebML WG Charter in development at https://github.com/w3c/machine-learning-charter/pull/19)
We discussed WebGPU interoperability expectations on our 6 October 2022 call and concluded working with WebGPU contributors is important for the success of the WebNN spec. I'd want us to revise the charter language around WebNN-WebGPU interoperability expectations accordingly.
The initial charter mentions WebGPU in the context of Out of Scope and Coordination as follows:
This issue is open to solicit proposals how to update the above. Tagging @RafaelCintron who provided feedback on the call.