Slide 11
Slide 11 text
Machine Learning: Rust
Model Training
Various frameworks for model training: candle-core , burn , tensorflow , torch-rs , linfa
Sparse documentation
Verdict: probably better to still use Python for model training due to better ecosystem
Model Deployment
Can convert your model to onnx or gguf and serve it via Rust
Rust also has backend frameworks similar to FastAPI , such as actix , axum
Strong type safety means the Rust compiler would catch errors during compilation time, and
during data processing pre-inference
In Python, sometimes you need to run the code to see the errors
Better memory management than Python, which means Rust is faster for the same Python workload
Verdict: use Rust-based solutions if you want better performance and stability