Cargo Features
candle-core has no features set by default.
[dependencies]
candle-core = { version = "0.8.1", features = ["cuda", "cudnn", "mkl", "accelerate", "metal"] }
- cuda cudnn? = cudarc
-
Enables candle-kernels and ug-cuda
Affects
candle-core::cuda_backend
,quantized::cuda
… - cudnn = cuda
-
Affects
cuda_backend::cudnn
… - mkl
-
Enables intel-mkl-src and libc
- accelerate
-
Enables accelerate-src and libc
- metal
-
Enables candle-metal-kernels, metal ^0.27.0, and ug-metal
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.