Cargo Features

candle-nn has no features set by default.

[dependencies]
candle-nn = { version = "0.8.1", features = ["accelerate", "cuda", "mkl", "metal"] }
accelerate

Enables accelerate-src, accelerate of candle-core

cuda

Enables cuda of candle-core

mkl

Enables intel-mkl-src, mkl of candle-core

metal

Enables candle-metal-kernels and metal ^0.27.0, metal of candle-core

candle-nn has 4 features without comments.