Installation
In this section, we describe how to install sherpa-onnx on various platforms.
Requirements:
CMake >= 3.13
A compiler that supports at least
C++14
Hint
You can use pip install cmake
to install the latest cmake.
- Linux
- CPU (Linux x64 or Linux arm64)
- GPU (CUDA 11.8, Linux x64)
- GPU (CUDA 12.8, CUDNN 9, Linux x64)
- GPU (CUDA 10.2, CUDNN8, Linux arm64, e.g., Jetson Nano B01)
- GPU (CUDA 11.4, CUDNN8, Linux arm64, e.g., Jetson Orin NX)
- GPU (CUDA 12.6, CUDNN9, Linux arm64, e.g., Jetson Orin Nano Engineering Reference Developer Kit Super Jetpack 6.2)
- macOS
- Windows
- Embedded Linux (aarch64)
- Embedded Linux (arm)
- Embedded Linux (riscv64)
If you want to build an Android app, please refer to Android. If you want to build an iOS app, please refer to iOS.