whisper.cpp
Port of OpenAI's Whisper model in C/C++
Latest version: 1.6.2
Add to xmake.lua
add_requires("whisper.cpp 1.6.2")Learn how to add and link packages with Xmake →
Information
- Recipe updated
- 2024-05-28T06:09:14.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- msys: i386, x86_64
- mingw: i386, x86_64, arm, arm64
- wasm: wasm32, wasm64
- android: armeabi, armeabi-v7a, arm64-v8a, riscv64, x86, x86_64, mips, mip64
- windows: x86, x64, arm, arm64, arm64ec
Options
avx- Enable AVX · Type: boolean · Default: true
avx2- Enable AVX2 · Type: boolean · Default: true
clblast- use CLBlast · Type: boolean · Default: false
cublas- Support for cuBLAS · Type: boolean · Default: false
f16c- Enable F16c · Type: boolean · Default: true
fma- Enable FMA · Type: boolean · Default: true
openblas- Support for OpenBLAS · Type: boolean · Default: false
perf- Enable perf timings · Type: boolean · Default: false
Versions
- 1.4.2
- 1.5.4
- 1.5.5
- 1.6.0
- 1.6.2
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "whisper.cpp 1.6.2"show info
xrepo info "whisper.cpp"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("whisper.cpp 1.6.2")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("whisper.cpp")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "whisper.cpp 1.6.2" shell