Reza2kn's picture
Release complete mixed Q3/Q4 Audio8 with portable CPU, MLX and exact GGUF GPU consumers
c49eca9 verified
Raw History Blame Contribute Delete
504 Bytes
#!/bin/sh
set -eu
[ "$#" -eq 3 ] || { echo 'Usage: $0 INPUT.f32le|- en|zh DEVICE_INDEX' >&2; exit 64; }
case "$2" in en|zh) ;; *) exit 64;; esac
case "$3" in ''|*[!0-9]*) exit 64;; esac
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
exec "$ROOT/gguf/bin/linux-x86_64-vulkan/audio8-gguf" "$ROOT/gguf/audio8-q3-exact-q4_0.gguf" "$1" "$2" --model-sha256 f447bfe0d62200be97e0ce36e0883eb4499a42baded0840b15e9a1b68be17f83 --backend vulkan --device "$3" --batch 1 --silero-vad "$ROOT/assets/silero_vad.onnx"