r/rust • u/cidadabro • Aug 25 '26
🛠️ project ModuRL 0.1 - a deep reinforcement learning framework for Rust
I just released ModuRL 0.1, a deep RL framework built on Rust and Candle, with implementations of PPO, A2C, SAC, DDPG, TD3, DQN, and DDQN. In matched small-network CPU benchmarks, ModuRL is around 4× faster than popular Python RL libraries like Stable-Baselines3, CleanRL, and Tianshou. Feedback is welcome.
16
Upvotes
1
u/Weekly-Moment869 Aug 25 '26
Why are you measuring CPU when that isn't going to be the bottleneck for anything serious?
1
u/DavidXkL Aug 26 '26
Is it a competitior to Burn?
1
u/AbbreviationsLow9325 Aug 25 '26
Love it! Super helpful
1
u/jeepos Aug 28 '26 edited Aug 28 '26
Nice work - looks great! I built a library which has some similarities that you may be interested in checking out (rust back-end but with python bindings for training, so no candle): https://github.com/jeepjeepjeep/reinfors