Cargo Features

[dependencies]
whisper_cpp = { version = "0.2.1", default-features = false, features = ["compat", "native", "avx", "avx2", "fma", "f16c", "accel", "openvino", "cuda", "metal", "blas", "hipblas", "clblast"] }
default = compat, native

These default features are set whenever whisper_cpp is added without default-features = false somewhere in the dependency tree.

compat default

this feature modifies the symbols exposed by the generated libraries to avoid conflicts

Enables compat of whisper_cpp_sys

native default = accel, avx, avx2, f16c, fma
avx native

Enables avx of whisper_cpp_sys

avx2 native

Enables avx2 of whisper_cpp_sys

fma native

Enables fma of whisper_cpp_sys

f16c native

implied when compiled using MSVC with avx2/avx512

Enables f16c of whisper_cpp_sys

accel native

Accelerate framework

Enables accel of whisper_cpp_sys

openvino

Enables openvino of whisper_cpp_sys

cuda

Enables cuda of whisper_cpp_sys

metal

Enables metal of whisper_cpp_sys

blas

Enables blas of whisper_cpp_sys

hipblas

Enables hipblas of whisper_cpp_sys

clblast

Enables clblast of whisper_cpp_sys