Encodec.cpp, a portable C++ implementation of Meta's EnCodec using Eigen [P]
Mirrored from r/MachineLearning for archival readability. Support the source by reading on the original site.
I built a C++ implementation of Meta’s EnCodec using Eigen.
Github: https://github.com/pfeatherstone/encodec.cpp
Motivation: - A lightweight implementation of EnCodec with no runtime dependencies, in C++ - No ML runtime - Easy integration in CMake project - Maximum performance on single-thread
What it supports: - State-of-the-art audio codec - Audio tokenizer - Performance comparable to or exceeding onnxruntime (in my tests) - Dynamic sizes (no batches though) - Weights are compiled into the binary. No need to worry about weights files
I'm looking for some feedback. Thank you very much.
[link] [comments]
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.