Rust bindings for the Paddle Inference library.
-
Get paddle_inference_c library. You'll need to either download precompiled binaries or follow directions on the official docs to build it from sources.
-
Create env variable LIB_PADDLE_C_INSTALL_DIR with the path to your paddle_inference_c lib.
-
Make sure paddle_inference_c shared lib and it's dependencies are added to:
- LD_LIBRARY_PATH for Linux
- DYLD_FALLBACK_LIBRARY_PATH for MacOS
- PATH for Windows
Use cargo run --example basic
to run example and check out examples
folder