Cargo Features
[dependencies]
rai-core = { version = "0.11.0", default-features = false, features = ["candle-backend", "candle-backend-fa", "cuda", "cudnn", "mkl", "accelerate", "metal", "debug-location"] }
- default = candle-backend, debug-location
-
These default features are set whenever
rai-core
is added without
somewhere in the dependency tree.default-features = false - candle-backend default = candle-core
- candle-backend-fa = candle-core, candle-flash-attn, cuda
- cuda candle-backend-fa?
-
Enables cuda of optional candle-core ^0.4.1
- cudnn
-
Enables cudnn of optional candle-core ^0.4.1
- mkl
-
Enables mkl of optional candle-core ^0.4.1
- accelerate
-
Enables accelerate of optional candle-core ^0.4.1
- metal
-
Enables metal of optional candle-core ^0.4.1
- debug-location default
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.