Cargo Features
[dependencies]
stem-splitter-core = { version = "1.2.0", default-features = false, features = ["engine-mock", "cuda", "coreml", "directml", "onednn", "xnnpack"] }
- default = coreml, cuda, directml, onednn, xnnpack
-
These default features are set whenever
stem-splitter-coreis added withoutsomewhere in the dependency tree.default-features = false - engine-mock
- cuda default
-
GPU acceleration providers - enable all by default, code handles platform detection Providers that don't apply to the target platform are automatically skipped NVIDIA GPUs (Linux, Windows)
Enables cuda of ort =2.0.0-rc.11
- coreml default
-
Apple Silicon (macOS only)
Enables coreml of ort =2.0.0-rc.11
- directml default
-
DirectML (Windows only)
Enables directml of ort =2.0.0-rc.11
- onednn default
-
Intel optimized (all platforms)
Enables onednn of ort =2.0.0-rc.11
- xnnpack default
-
ARM/x86 optimized CPU fallback
Enables xnnpack of ort =2.0.0-rc.11