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
somewhere in the dependency tree.default-features = false - download-binaries default
-
Enables download-binaries of ort
- directml
-
ONNXRuntime Execution providers
Affects
ffi::DeviceFFI
… - cuda
-
Affects
ffi::DeviceFFI
… - tensorrt
-
Affects
ffi::DeviceFFI
… - generate-csharp default
-
Bindings generation
- generate-c default