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 whenever musicgpt is added without default-features = false somewhere in the dependency tree.

coreml

Enables coreml of ort

tensorrt

Enables tensorrt of ort

cuda

Enables cuda of ort

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