Cargo Features

candle-core has no features set by default.

[dependencies]
candle-core = { version = "0.5.0", features = ["cuda", "cudnn", "mkl", "accelerate", "metal"] }
cuda cudnn? = cudarc

Enables candle-kernels

Affects candle-core::cuda_backend, quantized::cuda

cudnn = cuda

Enables cudnn of cudarc ^0.10.0

Affects cuda_backend::cudnn

mkl

Enables intel-mkl-src and libc

accelerate

Enables accelerate-src and libc

metal

Enables candle-metal-kernels and metal ^0.27.0

Affects candle-core::metal_backend, quantized::metal

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.

cudarc cuda? cudnn?

Enables cudarc ^0.10.0