run-wasm
tractjs
Our great sponsors
run-wasm | tractjs | |
---|---|---|
1 | 1 | |
464 | 76 | |
0.4% | - | |
3.6 | 0.0 | |
about 2 years ago | over 1 year ago | |
TypeScript | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
run-wasm
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
What are some alternatives?
onnxjs - ONNX.js: run ONNX models using JavaScript
neuronika - Tensors and dynamic neural networks in pure Rust.
vite-plugin-rsw - 🦞 wasm-pack plugin for Vite
kosmonaut - A web browser engine for the space age :rocket:
wasup - A zero-dependency, isomorphic library for emitting WebAssembly
video-transcoder - Android app for video and audio transcoder, based on FFmpeg
onnxruntime-rs - Rust wrapper for Microsoft's ONNX Runtime (version 1.8)
tfjs - A WebGL accelerated JavaScript library for training and deploying ML models.
tract - Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference
tensorjs - Deep learning for the Web
autograph - Machine Learning Library for Rust