Should wasmtime-wasi-nn be developed out-of-tree?
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 18.9k
- Forks
- 2k
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 238
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bytecodealliance/wasmtime
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bytecodealliance/wasmtime#15536 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bytecodealliance/wasmtime#15455 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
wasi-preview1-component-adapter: fd_write does not invalidate cached InputStream, causing stale readsPosiblemente ocupada @dpfens la tomó hace 13 días. Abiertowasi
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bytecodealliance/wasmtime#15296 ·
Los mantenedores suelen responder en 1 día
-
bug wasm-proposal:exceptions wasmtime:debugging
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
bytecodealliance/wasmtime#14102 ·
Los mantenedores suelen responder en 1 día
-
wasm-proposal:gc
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
bytecodealliance/wasmtime#13808 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de bytecodealliance/wasmtime
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area: plugins bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
clipy-recorder/clipy#1039 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
valkey-io/valkey-glide#7975 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
gofractally/psibase#2379 ·
Los mantenedores suelen responder en 3 días
-
Qwen stream parser: a chunk with "error": null is treated as a stream errorPosiblemente ocupada @Beehtrix la tomó hoy. Abiertoarea:models bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
brekkylab/ailoy#681 · 1 comentario ·
Los mantenedores suelen responder en 2 días