Stream: git-wasmtime

Topic: wasmtime / PR #8530 wasi-nn: only support components


view this post on Zulip Wasmtime GitHub notifications bot (May 02 2024 at 22:24):

abrown opened PR #8530 from abrown:wasi-nn-only-wit to bytecodealliance:main:

This is a relatively drastic change to remove all the preview1, WITX-based support from Wasmtime's wasi-nn implementation. This has ramifications:

Why this change, then? The WebAssembly [specification] has pushed ahead, defining new functionality that depends on component model features (e.g., resources). So far, the wasmtime-wasi-nn has had its preview1- and preview2-ABI implementations coexisting side by side, wit.rs and witx.rs. This was only possible because the WIT and WITX definitions were roughly similar. But I plan to update the Wasmtime implementation to support the new spec changes, which means the older preview1-ABI WITX code would immediately be out of date. And the differences between the updated WIT code and the old WITX code would only grow over time.

[wasi-nn]: https://crates.io/crates/wasi-nn
[specification]: https://github.com/WebAssembly/wasi-nn

view this post on Zulip Wasmtime GitHub notifications bot (May 02 2024 at 22:24):

abrown updated PR #8530.

view this post on Zulip Wasmtime GitHub notifications bot (May 02 2024 at 23:04):

abrown updated PR #8530.

view this post on Zulip Wasmtime GitHub notifications bot (May 03 2024 at 17:36):

alexcrichton commented on PR #8530:

From a technical perspective this all looks fine to me, thanks! For a "is this the time to do this or not" I'd defer to the wasi-nn subgroup, which I know you're intimately tied into as well and likely have a consensus before making this PR

view this post on Zulip Wasmtime GitHub notifications bot (May 03 2024 at 22:02):

abrown updated PR #8530.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 08 2024 at 20:08):

abrown closed without merge PR #8530.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 08 2024 at 20:08):

abrown commented on PR #8530:

Superseded by #8873.


Last updated: Nov 22 2024 at 17:03 UTC