macOS

This page describes how to build sherpa-onnx on macOS.

Hint

It supports both Intel and Apple Silicon (e.g., M1).

All you need is to run:

git clone https://github.com/k2-fsa/sherpa-onnx
cd sherpa-onnx
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j6

After building, you will find an executable sherpa-onnx inside the bin directory.

That’s it!

Please refer to Pre-trained models for a list of pre-trained models.