candding 0.1.0

Pure candle embeddings for Rust with no ONNX: dense, sparse, multi-vector and rerank models today, image models on the roadmap
Documentation
1
2
3
4
5
6
//! How `CanddingError::InsufficientMemory` prints a byte count.

/// Decimal gigabytes, the catalog's own unit for a model's size.
pub(super) fn gb(bytes: &u64) -> String {
  format!("{:.2} GB", *bytes as f64 / 1e9)
}