Cargo Features

[dependencies]
sbv2_core = { version = "0.2.0-alpha4", default-features = false, features = ["no_std", "std", "cuda", "cuda_tf32", "dynamic", "directml", "tensorrt", "coreml"] }
default = std

The std feature is set by default whenever sbv2_core is added without default-features = false somewhere in the dependency tree.

no_std

Enables unstable_wasm of tokenizers ^0.20.0

std default coreml? cuda? cuda_tf32? directml? dynamic? tensorrt?

Enables ort, esaxx_fast, onig and progressbar of tokenizers ^0.20.0

Affects sbv2_core::bert, sbv2_core::model, sbv2_core::tts

cuda cuda_tf32? = std

Enables cuda of ort

cuda_tf32 = cuda, std
dynamic = std

Enables load-dynamic of ort

directml = std

Enables directml of ort

tensorrt = std

Enables tensorrt of ort

coreml = std

Enables coreml of ort