huggingface/ratchet

Shared Array Buffer 🪄

Ouverte

#79 ouverte le 13 févr. 2024

 (0 commentaire) (1 réaction) (0 personne assignée)Rust (44 forks)auto 404
help wanted

Métriques du dépôt

Stars
 (768 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur