Commit graph

2 commits

Author SHA1 Message Date
rUv
161f890ddb fix: apply cargo fmt across workspace and fix CI issues
- Run cargo fmt --all to fix formatting in 362 files across the entire workspace
- Add PGDG repository for PostgreSQL 17 in CI test-all-features and benchmark jobs
- Add missing rvf dependency crates to standalone Dockerfile for domain-expansion
- Add sona-learning and domain-expansion features to standalone Dockerfile build
- Create npu.rs stub for ruvector-sparse-inference (fixes rustfmt resolution error)

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-21 20:56:38 +00:00
Claude
01a6f91a89 perf: Optimize quantizer + store; add comprehensive tests
- Eliminate round() call in quantize hot path (1.8x speedup)
- Add 3-bit dequant fast path (8-values-from-3-bytes, 2.4x speedup)
- Wire WitnessLog into TieredStore (put/get/evict audit trail)
- Add TieredStore.metrics() for aggregate store statistics
- Add TieredStore.witness_log() accessors
- Update store.get() to accept `now` tick for access tracking
- 14 property-based tests (roundtrip, bitpack, segment, delta, f16,
  score monotonicity, extreme values, compression ratio, determinism)
- 11 end-to-end integration tests (lifecycle, delta chain, quality
  sweep, persistence, eviction, checksum, multi-tensor, stress,
  compressor-to-store, factor reconstruction, witness logging)

Benchmarks (4096-element tensors, release mode):
  8-bit quantize: 10,745 ns (1.52 GB/s)
  8-bit dequant:    992 ns (16.52 GB/s)
  3-bit dequant:  2,998 ns (5.46 GB/s)
  Zipf P95 read:     41 ns
  Tier flip rate: 0.074/block/min (threshold: 0.1)

All 204 tests pass.

https://claude.ai/code/session_01Ksy165BL5nGpVoWaAfTE7t
2026-02-08 03:57:57 +00:00