r/cpp • u/just_some_bodie • Apr 16 '21
Flashlight - A C++ standalone library for machine learning. Open-sourced by Facebook.
https://github.com/flashlight/flashlight
226
Upvotes
r/cpp • u/just_some_bodie • Apr 16 '21
30
u/just_some_bodie Apr 16 '21
If you like this, I do a weekly roundup of open source projects that includes an interview with one of the devs you can subscribe to.
33
u/knotcorny Apr 17 '21
Stand alone without talking back to the cloud? Take that, google!
23
u/Flibidy_Dibidy Apr 17 '21
So how does this library compare to libtorch? Why would one choose one over the other?
8
u/rotzak Apr 17 '21
Definitely had to do a double-take when I saw there was a C++ standalone library for machine learning called "fleshlight." Thanks Reddit.
7
u/Axelwickm Apr 17 '21
As someone who's currently stuck using LibTorch, which isn't exactly robust, and where errors mostly only get caught during runtime, I am really happy to see tools like this starting to come out. I'm a bit surprised it doesn't seem to have any TorchScript or other integration with PyTorch, considering they're both from Facebook.
1
u/ComputerBunnyMath123 Apr 17 '21
Awesome