Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to understand how WebNN supports implementation that involves multiple devices and timelines #350

Open
wchao1115 opened this issue Feb 17, 2023 · 0 comments

Comments

@wchao1115
Copy link
Collaborator

wchao1115 commented Feb 17, 2023

During the conversation on WebNN and WebGPU interop session, at the WebGPU F2F meeting in San Francisco, Myles Maxfield made an observation about the fact that WebNN MLContext is a single-device context. He raised the awareness that Apple's CoreML can distribute a workload within a single ML graph across multiple devices including the ANE, and said that it would be nice if WebNN has a provision to support that situation as well.

I think this feedback is related to a discussion in the working group of late about ways to create a notion of a default MLContext (when there is no explicit device associated with the context -- either a CPU device or a WebGPU device) that is more open to the implementation. This default context could effectively be whatever the implementer wants it to be including a multi-device context in the case of the Apple's WebKit implementation over CoreML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants