Cargo Features

[dependencies]
edge-transformers = { version = "0.1.2", default-features = false, features = ["download-binaries", "directml", "cuda", "tensorrt", "generate-csharp", "generate-c"] }
default = download-binaries, generate-c, generate-csharp

These default features are set whenever edge-transformers is added without default-features = false somewhere in the dependency tree.

download-binaries default

Enables download-binaries of ort

directml

ONNXRuntime Execution providers

Enables directml of ort

Affects ffi::DeviceFFI

cuda

Enables cuda of ort

Affects ffi::DeviceFFI

tensorrt

Enables tensorrt of ort

Affects ffi::DeviceFFI

generate-csharp default

Bindings generation

generate-c default