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 wheneverrai
is added without
somewhere in the dependency tree.default-features = false - candle-backend default
-
Enables candle-backend of rai-core, rai-nn, and rai-opt
- cuda
- cudnn
- mkl
- accelerate
-
Enables accelerate of rai-core, rai-nn, and rai-opt
- metal
- debug-location
-
Enables debug-location of rai-core
RAI has 8 features without comments.