Hi everyone! 👋
I'm working on a C++ project using TensorFlow Lite and was wondering if anyone has a prebuilt TensorFlow Lite C++ library (libtensorflowlite
) for macOS (Apple Silicon M1/M2) that they’d be willing to share.
I’m looking specifically for the TensorFlow Lite C++ API — something that lets me use tflite::Interpreter
, tflite::FlatBufferModel
, etc. Building it from source using Bazel on macOS has been quite challenging and time-consuming, so a ready-to-use .dylib
or .a
build along with the required headers would be incredibly helpful.
TensorFlow Lite version: v2.18.0 preferred
Target: macOS arm64 (Apple Silicon)
What I need:
libtensorflowlite.dylib
or.a
- Corresponding headers (ideally organized in a clean
include/
folder)
If you have one available or know where I can find a reliable prebuilt version, I’d be super grateful. Thanks in advance! 🙏
Hello,
We don't offer something that specific so we're wondering if you've considered the Tensorflow Plugin for Metal.
We also offer Metal-cpp if you prefer pure C++ to Obj-C++.
Another framework you may want to consider for ML is MLX.