Cargo Features

candle-examples has no features set by default.

[dependencies]
candle-examples = { version = "0.5.0", features = ["accelerate", "cuda", "cudnn", "flash-attn", "mkl", "nccl", "onnx", "metal", "microphone", "encodec", "candle-datasets", "pyo3"] }
accelerate

Enables accelerate-src, accelerate of candle-core, candle-nn, and candle-transformers

cuda flash-attn? nccl?

Enables bindgen_cuda, cuda of candle-core, candle-nn, and candle-transformers

cudnn

Enables cudnn of candle-core

flash-attn = cuda

Enables candle-flash-attn, flash-attn of candle-transformers

mkl

Enables intel-mkl-src, mkl of candle-core, candle-nn, and candle-transformers

nccl = cuda

Enables half, nccl of cudarc ^0.10.0

onnx = candle-onnx
metal

Enables metal of candle-core and candle-nn

microphone = cpal
encodec = cpal, rubato, symphonia

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

candle-datasets implicit feature

Enables candle-datasets

candle-datasets:

Minimalist ML framework

candle-onnx onnx?
cudarc nccl?

Enables cudarc ^0.10.0

pyo3 implicit feature

Enables pyo3

pyo3:

Bindings to Python interpreter

rubato encodec?
symphonia encodec?
cpal encodec? microphone?