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 default-features = false somewhere in the dependency tree.

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.

candle-core candle-backend candle-backend-fa?

Enables candle-core ^0.4.1

candle-flash-attn candle-backend-fa?

Enables candle-flash-attn ^0.4.1