huggingface/ratchet

Shared Array Buffer 🪄

Offen

#79 geöffnet am 13.02.2024

 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (44 Forks)auto 404
help wanted

Repository-Metriken

Stars
 (768 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

When we pull the model from the wire, we should write it into a shared array buffer: https://rustwasm.github.io/wasm-bindgen/examples/raytrace.html

This will reduce memory usage, ideally peak memory usage should be ~model size. Loading will require some magic.

Contributor Guide