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
use crate::models::SparseHead;
use crate::registry::DtypeSupport;
use crate::registry::Family;
use crate::registry::Support;
use crate::registry::WeightsFormat;
use crate::registry::sparse::entry::SparseComputation;
use crate::registry::sparse::entry::SparseEntry;

/// `prithivida/Splade_PP_en_v1`: a pickle-only BERT with a tied MLM head; its default length is `config.json`'s 512,
/// not its `tokenizer.json`'s 128. F16 misses its ceiling on both devices and BF16 on Metal.
pub(super) const SPLADE_PP_EN_V1: SparseEntry = SparseEntry {
  id: "prithivida/Splade_PP_en_v1",
  family: Some(Family::Bert),
  head: SparseHead::SpladeMlm,
  vocab_size: 30522,
  default_max_length: 512,
  cpu: Support::Verified,
  metal: Support::Verified,
  cuda: Support::Verified,
  dtypes: DtypeSupport {
    f32: Support::Verified,
    f16: Support::Unsupported,
    bf16: Support::Unsupported,
  },
  license: "Apache-2.0",
  size_gb: 0.44,
  phase: 3,
  weights: WeightsFormat::Pickle,
  gated: false,
  accel_only_dtypes: &[],
  head_source: None,
  head_revision: None,
  computation: SparseComputation::Encoded,
  cell_exceptions: &[],
};