rahulchaphalkar opened PR #11041 from rahulchaphalkar:separate-witx-module to bytecodealliance:main:
- Update WIT to latest
- Updated WIT removes
set-input,get-outputfunctions, modifiescomputeto accept Vec ofNamedTensorparameter representing input tensors, and return Vec ofNamedTensorrepresenting output tensor.- Due to divergence from WITX,
computehandles both wit and witx depending on if input tensors in form of Vec<NamedTensor> is provided.set-input,get-outputfunctions remain in the code for WITX support.- Update WIT tests, onnx example
rahulchaphalkar requested wasmtime-wasi-reviewers for a review on PR #11041.
rahulchaphalkar requested fitzgen for a review on PR #11041.
rahulchaphalkar requested wasmtime-core-reviewers for a review on PR #11041.
rahulchaphalkar updated PR #11041.
rahulchaphalkar edited PR #11041:
- Update WIT to latest
- Updated WIT removes
set-input,get-outputfunctions, modifiescomputeto accept Vec ofNamedTensorparameter representing input tensors, and return Vec ofNamedTensorrepresenting output tensor.- Due to divergence from WITX,
computehandles both wit and witx depending on if input tensors in form of Vec<NamedTensor> is provided.set-input,get-outputfunctions remain in the code for WITX support.- Update all backends
- Update WIT tests, onnx example
alexcrichton requested abrown for a review on PR #11041.
rahulchaphalkar updated PR #11041.
rahulchaphalkar requested wasmtime-default-reviewers for a review on PR #11041.
rahulchaphalkar updated PR #11041.
abrown submitted PR review:
@rahulchaphalkar walked me through running all the wasi-nn tests with all of the various backends and this PR does not appear to change any results. Adapting this implementation to WITX is getting even more awkward; I really think we should consider removing the WITX half of this crate at some point soon.
abrown merged PR #11041.
Last updated: Dec 06 2025 at 07:03 UTC