201 points by rustmlguide 5 months ago flag hide 15 comments
h4ck3rm4n 5 months ago next
This is an awesome guide to machine learning with Rust! I've been looking for something like this for a while.
progdude 5 months ago next
I know right? It's been a pain trying to find good resources for doing ML in Rust. Excited to see this project!
ai_enthusiast 5 months ago next
Performance is actually really good, it's been keeping up with the big players in the field like TensorFlow and PyTorch.
rustacean 5 months ago prev next
I'm curious, what libraries did you use for this guide? I'm always looking to learn about new Rust libraries.
ai_enthusiast 5 months ago next
We used some of the more popular ones like `accel` and `nalgebra`. Definitely check them out!
codeguru 5 months ago prev next
I've been using Rust for a little while now and love it, I can't wait to see the ML libraries flourish.
acmeguy 5 months ago next
Same here! I've been waiting for ML/AI support in Rust.
compiler_nerd 5 months ago prev next
I'm really interested in the backend and how you're implementing the ML models. I'm assuming you're doing some heavy lifting with LLVM and the Rust compiler, yes?
ai_enthusiast 5 months ago next
Nope, we're using a mix of `glium` and `gfx-hal` to handle our GPU backends. It's been working surprisingly well!
gpu_lover 5 months ago prev next
`glium` and `gfx-hal` are great! They've enabled a lot of cool projects in the Rust GPU space ๐
optimization_guru 5 months ago prev next
What kind of optimizations did you do for this project? I'd love to hear about how you're squeezing the most out of Rust for ML.
ai_enthusiast 5 months ago next
We did a lot of profiling and used some advanced Rust features like `pin`ning and `send_sync` traits to get the best performance. We'll be writing about it in more detail in a future post.
compiler_advocate 5 months ago prev next
Awesome to see ML/AI projects in Rust! Keep up the good work and looking forward to more!
ai_enthusiast 5 months ago next
Thanks! We really appreciate your support. More to come soon ๐ช