calloop
tract
calloop | tract | |
---|---|---|
4 | 20 | |
172 | 2,072 | |
1.2% | 1.9% | |
7.4 | 9.8 | |
2 days ago | 2 days ago | |
Rust | Rust | |
MIT License | Apache 2.0/MIT |
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.
calloop
-
Rust Event System
calloop smell good. look close calloop
-
[Discussion] What crates would you like to see?
What I really want though, is a simple MQTT abstraction around a socket that I can use in non-blocking mode and put into an event loop like calloop. There's mqttrs for the protocol-only part, but I'll still need to convince my employer that it's worth it to implement the IO for it from scratch.
-
Closure based event loop library kinda like libuv
You may be interested in calloop, which is what backs the Smithay compositor (and also the winit event loop, at least on the Wayland backend). It's basically this crate, but with a handful more batteries included.
tract
-
Are there any ML crates that would compile to WASM?
Tract is the most well known ML crate in Rust, which I believe can compile to WASM - https://github.com/sonos/tract/. Burn may also be useful - https://github.com/burn-rs/burn.
-
[Discussion] What crates would you like to see?
tract!!
-
tract VS burn - a user suggested alternative
2 projects | 25 Mar 2023
-
Machine Learning Inference Server in Rust?
we use tract for inference, integrated into our runtime and services.
- onnxruntime
- Rust Native ML Frameworks?
-
Neural networks - what crates to use?
Not for training, but for inference this looks nice: https://github.com/sonos/tract
-
Brain.js: GPU Accelerated Neural Networks in JavaScript
There's also tract, from sonos[0]. 100% rust.
I'm currently trying to use it to do speech recognition with a variant of the Conformer architecture (exported to ONNX).
The final goal is to do it in WASM client-side.
[0] https://github.com/sonos/tract
-
Serving ML at the Speed of Rust
As the article notes, there isn't any official Rust-native support for any common frameworks.
tract (https://github.com/sonos/tract) seems like the most mature for ONNX (for which TF/PT export is good nowadays), and recently it successfully implemented BERT.
-
Run deep neural network models from scratch
There are some DL libraries written in Rust: https://github.com/sonos/tract , https://docs.rs/neuronika/latest/neuronika/index.html . The second one could be used for training, I think.
What are some alternatives?
faer-rs - Linear algebra foundation for the Rust programming language
onnxruntime-rs - Rust wrapper for Microsoft's ONNX Runtime (version 1.8)
mqttrs - Async Mqtt encoder and decoder for rust.
MTuner - MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 4 and 3, Android and other platforms
dune - A hobby runtime for JavaScript and TypeScript 🚀
wonnx - A WebGPU-accelerated ONNX inference run-time written 100% in Rust, ready for native and the web
dune-event-loop - A multi-platform event loop library 🎡
ncurses-rs - A low-level ncurses wrapper for Rust
finite-state-machine
linfa - A Rust machine learning framework.
crates.io - The Rust package registry
fairseq - Facebook AI Research Sequence-to-Sequence Toolkit written in Python.