Should wasmtime-wasi-nn be developed out-of-tree?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read the issue's linked security and testing discussions, especially #14790, #14444, and #14437, then examine the wasmtime-wasi-nn crate and its integration with the Wasmtime CLI. The issue asks maintainers to decide whether to move development to a separate repository and what CLI integration would be lost; done means that direction is agreed and the migration scope is clear.
索引モデルが issue の本文から書いたものです。
説明
Since its inception (I think at least) the wasmtime-wasi-nn crate and wasi:nn has been developed in-tree in Wasmtime. The activity in this area has been pretty reduced as of late, however, and there have additionally been some historical difficulties with this setup which are starting to come up again. For example:
- Right now there's a RUSTSEC advisory for a transitive dependency of
wasmtime-wasi-nnwhich is as-of-now unresolvable. This is a many-levels-deep transitive dependency which requires multiple dependency updates which hasn't happened yet. - In general the dependency tree of
wasmtime-wasi-nnis quite large and deep in contrast with other dependencies in Wasmtime. This is the diff created from removingwasmtime-wasi-nnlocally, for example, meaning that all of these dependencies are exclusively used bywasmtime-wasi-nn:
-name = "aes"
-name = "base64ct"
-name = "byteorder"
-name = "bzip2"
-name = "bzip2-sys"
-name = "cipher"
-name = "constant_time_eq"
-name = "crunchy"
-name = "der"
-name = "deranged"
-name = "half"
-name = "hmac"
-name = "inout"
-name = "matrixmultiply"
-name = "ndarray"
-name = "num-complex"
-name = "num-conv"
-name = "openvino"
-name = "openvino-finder"
-name = "openvino-sys"
-name = "ort"
-name = "ort-sys"
-name = "password-hash"
-name = "pbkdf2"
-name = "pem-rfc7468"
-name = "powerfmt"
-name = "rawpointer"
-name = "safetensors"
-name = "sha1"
-name = "smallvec"
-name = "socks"
-name = "tar"
-name = "tch"
-name = "time"
-name = "time-core"
-name = "torch-sys"
-name = "ureq"
-name = "ureq-proto"
-name = "utf-8"
-name = "wasmtime-wasi-nn"
-name = "webpki-root-certs"
-name = "windows"
-name = "windows-core"
-name = "windows-implement"
-name = "windows-interface"
-name = "xattr"
-name = "zip"
-name = "zstd"
-name = "zstd-safe"
- Testing of
wasmtime-wasi-nnhas caused a lot of flakiness and issues historically. Right now it is disabled and there's as of yet no movement towards re-enabling it. - The implementation currently has a known CVE with it which we don't consider a CVE for Wasmtime since it's not tier 1, but it's still a significant issue.
Overall I subjectively feel that wasi-nn's development hasn't kept up with the rest of Wasmtime and I think it might be best to move development of it out-of-tree. For example a new bytecodealliance/wasmtime-wasi-nn repository could be created and development could move over there. This would lose integration with the wasmtime CLI but I'm not sure how broadly such integration is currently used.
cc @jlb6740 and @rahulchaphalkar as y'all are the current maintainers of wasi-nn and I'm curious what your thoughts on this would be.
- 主要言語
- Rust
- スター
- 18.9k
- フォーク
- 2k
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 238
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bytecodealliance/wasmtime のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bytecodealliance/wasmtime#15536 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bytecodealliance/wasmtime#15455 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
wasi-preview1-component-adapter: fd_write does not invalidate cached InputStream, causing stale reads対応中かも @dpfens が 13 日前に担当しました。 オープンwasi
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bytecodealliance/wasmtime#15296 ·
メンテナーはふだん 1 日以内に返信
-
bug wasm-proposal:exceptions wasmtime:debugging
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
bytecodealliance/wasmtime#14102 ·
メンテナーはふだん 1 日以内に返信
-
wasm-proposal:gc
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bytecodealliance/wasmtime#13808 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
bytecodealliance/wasmtime の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area: plugins bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
clipy-recorder/clipy#1039 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
valkey-io/valkey-glide#7975 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
gofractally/psibase#2379 ·
メンテナーはふだん 3 日以内に返信
-
Qwen stream parser: a chunk with "error": null is treated as a stream error対応中かも @Beehtrix が今日担当しました。 オープンarea:models bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
brekkylab/ailoy#681 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信