Wyoming protocol server for the onnx-asr speech to text system.
docker run -it -p 10300:10300 -v /path/to/local/data:/data ghcr.io/tboby/wyoming-onnx-asror for gpu
docker run -it -p 10300:10300 --gpus all -v /path/to/local/data:/data ghcr.io/tboby/wyoming-onnx-asr-gpuThere is also gpu TensorRT support, but it's a huge image and doesn't seem to make much performance difference.
You might want to mount in a cache folder if using it (/cache).
Install uv
Clone the repository and use uv:
git clone https://github.com/tboby/wyoming-onnx-asr.git
cd wyoming-onnx-asr
uv syncRun a server anyone can connect to:
uv run --uri 'tcp://0.0.0.0:10300'The --model-en or --model-multilingual can also be a HuggingFace model but see onnx-asr for details
NOTE: Models are downloaded under ONNX_ASR_MODEL_DIR (default /data in Docker images), with a per-model subdirectory.
You may need to adjust this when using a read-only root filesystem (e.g., ONNX_ASR_MODEL_DIR=/tmp).
TensorRT engine cache remains under /cache/tensorrt when using the gpu-trt image.
- Quantization: the parakeet model supports int8, but make sure to compare as performance may or may not improve.
- Model cache directory: set
--model-dirorONNX_ASR_MODEL_DIR(default/data, per-model subdirectories).
Install mise and use mise run to get a list of tasks to test, format, lint, run.