Cargo Features
[dependencies]
musicgpt = { version = "0.3.26", default-features = false, features = ["coreml", "tensorrt", "cuda", "onnxruntime-from-source", "onnxruntime-from-github", "onnxruntime-from-cdn"] }
- default = onnxruntime-from-github
-
The
onnxruntime-from-github
feature is set by default whenevermusicgpt
is added without
somewhere in the dependency tree.default-features = false - coreml
- tensorrt
- cuda
- onnxruntime-from-source
-
Enables load-dynamic of ort
Affects
onnxruntime_lib::init
… - onnxruntime-from-github default
-
Enables load-dynamic of ort
Affects
onnxruntime_lib::init
… - onnxruntime-from-cdn
-
Enables copy-dylibs and download-binaries of ort
Affects
onnxruntime_lib::init
…