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

"default" v.s. "auto" in MLDevicePreference and MLPowerPreference #30

Open
yuhonglin opened this issue Mar 22, 2022 · 3 comments
Open

Comments

@yuhonglin
Copy link
Contributor

Regarding the value that MLDevicePreference and MLPowerPreference can take, WebNN uses "default" as one value (https://webmachinelearning.github.io/webnn/#api-ml) but I feel maybe "auto" is more suitable because in this case, the backend will automatically determine the running environment. "auto" carries more message than "default". What do you think?

@yuhonglin
Copy link
Contributor Author

@huningxin

@huningxin
Copy link

@yuhonglin Thanks for brining this up. I think this is a good proposal and a good topic for WG discussion. /cc @anssiko , WDYT?

@anssiko
Copy link
Member

anssiko commented Mar 23, 2022

@yuhonglin webmachinelearning/webnn#169 is now cross-referenced.

Also WIP PR webmachinelearning/webnn#257 discusses whether to make device selection normative for WebNN.

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

No branches or pull requests

3 participants