Cargo Features

[dependencies]
rai = { version = "0.11.0", default-features = false, features = ["candle-backend", "cuda", "cudnn", "mkl", "accelerate", "metal", "debug-location"] }
default = candle-backend

The candle-backend feature is set by default whenever rai is added without default-features = false somewhere in the dependency tree.

candle-backend default

Enables candle-backend of rai-core, rai-nn, and rai-opt

cuda

Enables cuda of rai-core, rai-nn, and rai-opt

cudnn

Enables cudnn of rai-core, rai-nn, and rai-opt

mkl

Enables mkl of rai-core, rai-nn, and rai-opt

accelerate

Enables accelerate of rai-core, rai-nn, and rai-opt

metal

Enables metal of rai-core, rai-nn, and rai-opt

debug-location

Enables debug-location of rai-core

RAI has 8 features without comments.