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

wasi-nn: update upstream specification #6853

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

abrown
Copy link
Contributor

@abrown abrown commented Aug 16, 2023

This change removes the temporary *.wit files and bumps the spec directory to the latest wasi-nn commit. This is now possible because the upstream spec repository has all of the updated WIT and WITX bits. The load_by_name implementations are left as TODOs for now and will be included in a subsequent PR.

One other change is a refactoring: we wrap up some types--Graph and ExecutionContext--to avoid passing around Box<dyn ...>. This simplifies some of the code but should not change behavior.

This change removes the temporary `*.wit` files and bumps the `spec`
directory to the latest [wasi-nn] commit. This is now possible because
the upstream `spec` repository has all of the updated WIT and WITX bits.
The `load_by_name` implementations are left as TODOs for now and will be
included in a subsequent PR.

One other change is a refactoring: we wrap up some types--`Graph` and
`ExecutionContext`--to avoid passing around `Box<dyn ...>`. This
simplifies some of the code but should not change behavior.

Run all tests: prtest:full

[wasi-nn]: https://github.com/WebAssembly/wasi-nn.
@abrown abrown requested a review from a team as a code owner August 16, 2023 22:24
@abrown abrown requested review from jameysharp and pchickey and removed request for a team August 16, 2023 22:24
@pchickey pchickey removed the request for review from jameysharp August 16, 2023 22:43
@abrown abrown added this pull request to the merge queue Aug 16, 2023
Merged via the queue into bytecodealliance:main with commit 11af6af Aug 16, 2023
@abrown abrown deleted the adopt-upstream2 branch August 16, 2023 23:55
eduardomourar pushed a commit to eduardomourar/wasmtime that referenced this pull request Aug 18, 2023
This change removes the temporary `*.wit` files and bumps the `spec`
directory to the latest [wasi-nn] commit. This is now possible because
the upstream `spec` repository has all of the updated WIT and WITX bits.
The `load_by_name` implementations are left as TODOs for now and will be
included in a subsequent PR.

One other change is a refactoring: we wrap up some types--`Graph` and
`ExecutionContext`--to avoid passing around `Box<dyn ...>`. This
simplifies some of the code but should not change behavior.

Run all tests: prtest:full

[wasi-nn]: https://github.com/WebAssembly/wasi-nn.
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

Successfully merging this pull request may close these issues.

2 participants