Cargo Features

EmbedAnything has no features set by default.

[dependencies]
embed_anything = { version = "0.5.5", features = ["mkl", "accelerate", "cuda", "cudnn", "flash-attn", "metal", "audio", "ort", "rustls-tls"] }
mkl

Enables mkl of candle-core, candle-nn, and candle-transformers and intel-mkl-src

Optional Dependency

accelerate

Enables accelerate-src, accelerate of candle-core, candle-nn, and candle-transformers

cuda flash-attn?

Enables cuda of candle-core, candle-nn, candle-transformers, and ort

cudnn

Enables cudnn of candle-core

flash-attn = cuda

Enables candle-flash-attn, flash-attn of candle-transformers

metal

Enables metal of candle-core and candle-nn

audio

Enables symphonia

Audio Processing

Affects pcm_decode::audio_processing, embed_anything::emb_audio

ort cuda?

Enables ort

Affects local::colbert, local::colpali_ort, local::ort_bert, local::ort_jina, embed_anything::reranker

rustls-tls

Enables rustls-tls of hf-hub

Hugging Face Libraries

and rustls-tls of reqwest

HTTP Client

and rustls-tls of tokenizers

Natural Language Processing