tractjs
run-wasm


tractjs | run-wasm | |
---|---|---|
1 | 1 | |
75 | 470 | |
- | 0.4% | |
0.0 | 3.6 | |
about 2 years ago | almost 3 years ago | |
Rust | TypeScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tractjs
-
Run WASM, a client side Python runtime
Tensorflow (and by extension Keras) offload most of the actual work to C++ or C, so having those compile to WebAssembly would (I imagine) be a herculean effort.
Instead, The TF team maintains TFJS, which can run on WebAssembly[0].
There are also tractjs[1], and onnyxjs[2], both of which allow you to run (most) ONNX models (which is an open standard for specifying ML models) using WebAssembly and WebGL(only onnyxjs supports WebGL). A bunch of frameworks (caffe, pytorch, TF) support exporting to/importing from ONNX.
[0] https://blog.tensorflow.org/2020/03/introducing-webassembly-...
[1] https://github.com/bminixhofer/tractjs
[2] https://github.com/microsoft/onnxjs
run-wasm
What are some alternatives?
neuronika - Tensors and dynamic neural networks in pure Rust.
onnxjs - ONNX.js: run ONNX models using JavaScript
onnxruntime-rs - Rust wrapper for Microsoft's ONNX Runtime (version 1.8)
wasup - A zero-dependency, isomorphic library for emitting WebAssembly
tract - Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference
video-transcoder - Android app for video and audio transcoder, based on FFmpeg
steelix - Your one stop CLI for ONNX model analysis.
vite-plugin-rsw - 🦞 wasm-pack plugin for Vite
kosmonaut - A web browser engine for the space age :rocket:
hunspell-asm - WebAssembly based Javascript bindings for hunspell spellchecker
tensorjs - Deep learning for the Web

