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

Use component model resources #47

Closed
abrown opened this issue Aug 14, 2023 · 1 comment · Fixed by #59
Closed

Use component model resources #47

abrown opened this issue Aug 14, 2023 · 1 comment · Fixed by #59

Comments

@abrown
Copy link
Collaborator

abrown commented Aug 14, 2023

Once component model resources are fully implemented, this specification should switch to using them for graphs, execution contexts, and possibly tensors (see #43).

@geekbeast
Copy link
Contributor

Many of the execution context functions can be attached to graph once it is a resource. I'm not sure execution context makes sense as a resource since they shouldn't be shared (i.e they are tied to a specific instance of a graph so you will get into lifetime management issues). Doing this for large tensors could be make sense (i.e images) especially if being processed by a pipeline of components.

abrown added a commit to abrown/wasi-nn-spec that referenced this issue Oct 28, 2023
Now that component model `resource`s are specified and implemented, it
should be possible to use the `resource` type for specifying tensors,
graphs and execution contexts.

Closes WebAssembly#47.
@abrown abrown mentioned this issue Oct 28, 2023
abrown added a commit to abrown/wasi-nn-spec that referenced this issue Nov 9, 2023
Now that component model `resource`s are specified and implemented, it
should be possible to use the `resource` type for specifying tensors,
graphs and execution contexts.

Closes WebAssembly#47.
@abrown abrown closed this as completed in #59 Nov 9, 2023
abrown added a commit that referenced this issue Nov 9, 2023
Now that component model `resource`s are specified and implemented, it
should be possible to use the `resource` type for specifying tensors,
graphs and execution contexts.

Closes #47.
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 a pull request may close this issue.

2 participants