Cargo Features

candle-pyo3 has no features set by default.

[dependencies]
candle-pyo3 = { version = "0.7.1", features = ["accelerate", "cuda", "mkl", "onnx"] }
accelerate

Enables accelerate-src, accelerate of candle-core

cuda

Enables cuda of candle-core

mkl

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

onnx

Enables candle-onnx

candle-pyo3 has 4 features without comments.