r/MachineLearning • u/c-bata • Sep 07 '26
Project Rustuna: A High-Performance Rust Implementation of Optuna [P]
Hi everyone! We just released Rustuna (GitHub: https://github.com/optuna/rustuna/ ), a high-speed, memory-efficient implementation of Optuna built in Rust.
- Optuna-Compatible Design: Keeps the familiar API and concept of Optuna.
- Zero Python Dependencies: Mitigating the risk of supply chain attacks.
- Lower Memory Footprint: Optimized memory management natively in Rust.
For details, please check out the following blog post.
102
Upvotes
View all comments
Show parent comment
4
u/chatterbox272 Sep 08 '26
10 minutes is a pretty modest example IMHO. Most of my uses of optuna would have been 1hr+ per trial. I genuinely don't get the benefit here, it feels like it's on a hype train. You trade python dependency supply chain attacks for rust ones, you get a modest speed improvement in a non-dominant performance area, and similar with memory.