Cargo Features

[dependencies]
ct2rs = { version = "0.9.5", default-features = false, features = ["whisper", "tensor-parallel", "cuda-dynamic-loading", "hub", "mkl", "openblas", "ruy", "accelerate", "cuda", "cudnn"] }
default = ruy

The ruy feature is set by default whenever ct2rs is added without default-features = false somewhere in the dependency tree.

whisper

Enables mel_spec, ndarray ^0.15.6, serde, and serde_json

mel_spec:

Dependencies for Whisper model

flash-attention tensor-parallel
cuda-dynamic-loading = cuda
hub

Enables hf-hub

Dependencies for Hugging Face integration

mkl

Features to select backends.

Enables intel-mkl-src

openblas
ruy default
accelerate
cuda cuda-dynamic-loading? cudnn?
cudnn = cuda