Should wasmtime-wasi-nn be developed out-of-tree?
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 18.9k
- Fork
- 2k
- Merge medio
- 1g 6h
- PR unite (30g)
- 238
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bytecodealliance/wasmtime
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bytecodealliance/wasmtime#15536 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bytecodealliance/wasmtime#15455 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
wasi-preview1-component-adapter: fd_write does not invalidate cached InputStream, causing stale readsForse già presa @dpfens l’ha presa 13 giorni fa. Apertawasi
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
bytecodealliance/wasmtime#15296 ·
I maintainer di solito rispondono entro 1 giorno
-
bug wasm-proposal:exceptions wasmtime:debugging
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bytecodealliance/wasmtime#14102 ·
I maintainer di solito rispondono entro 1 giorno
-
wasm-proposal:gc
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
bytecodealliance/wasmtime#13808 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di bytecodealliance/wasmtime
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area: plugins bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
clipy-recorder/clipy#1039 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
valkey-io/valkey-glide#7975 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
gofractally/psibase#2379 ·
I maintainer di solito rispondono entro 3 giorni
-
Qwen stream parser: a chunk with "error": null is treated as a stream errorForse già presa @Beehtrix l’ha presa oggi. Apertaarea:models bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
brekkylab/ailoy#681 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni