flodl-sys
Raw FFI bindings to libtorch via a thin C++ shim (shim.h / shim.cpp). This crate is the foundation layer for floDl, a Rust deep learning framework. The main entry point is the flodl crate; see flodl.dev and the main README for the full framework.
You should not use this crate directly. Use the flodl crate instead, which provides a safe Rust API for tensors, autograd, neural network modules, and graph-based model composition.
Build requirements
The build.rs script expects libtorch to be available. The easy path is the flodl-cli (fdl) tool, which downloads the right libtorch variant for your hardware:
&&
Or set LIBTORCH_PATH to a libtorch installation you manage yourself. The Docker-based build in the main repository wires this up automatically.
License
floDl is open-sourced software licensed under the MIT license.
Repository: https://github.com/flodl-labs/flodl