Skip to content

v0.1.0

Choose a tag to compare

@mexamon mexamon released this 01 Apr 07:24
· 3 commits to main since this release

Initial release of semafold — vector-first compression for embeddings, retrieval, and KV-cache workloads.

What's included

  • Stable root API: CompressionBudget, CompressionEstimate, CompressionFootprint, CompressionGuarantee, ValidationEvidence
  • PassthroughVectorCodec and ScalarReferenceVectorCodec
  • Preview-only TurboQuant family under deep import semafold.turboquant:
    • TurboQuantMSEVectorCodec — reconstruction-optimized quantization
    • TurboQuantProdVectorCodec — inner-product-optimized quantization with QJL sign sketch
    • TurboQuantKVPreviewCodec — KV-cache compression (keys: Prod, values: MSE)
  • Explicit byte accounting and validation evidence on all encodings
  • Deterministic synthetic benchmarks

Install

pip install semafold==0.1.0