Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coderjack/turboquant-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1
Choose a base ref
...
head repository: coderjack/turboquant-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 3 commits
  • 46 files changed
  • 2 contributors

Commits on Apr 6, 2026

  1. TurboQuant-RS: vector compression with near-optimal distortion

    Rust implementation of Google's TurboQuant algorithm (arXiv:2504.19874).
    Three-step pipeline: random orthogonal rotation, Lloyd-Max scalar
    quantization, QJL 1-bit residual correction.
    
    Default 4-bit at 384-dim: 248 bytes/vec (6.2x compression), 0.852 cosine,
    87% recall@10. Calibration-free, deterministic, unbiased inner product
    estimator.
    
    Includes PolarQuant variant for comparison, head-to-head benchmarks,
    examples (basic index + ONNX semantic search), and 52 tests.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    coderjack and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    8ccdea7 View commit details
    Browse the repository at this point in the history
  2. Add components example showing each step independently

    Demonstrates Rotation, LloydMaxQuantizer, and QjlCompressor as
    standalone building blocks with KV cache memory savings calculation.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    coderjack and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    e5783b9 View commit details
    Browse the repository at this point in the history
  3. Add interactive 3D TurboQuant algorithm visualizer

    Three.js walkthrough showing rotation, Lloyd-Max quantization, and
    QJL residual correction on 5 unit vectors with orbit controls.
    Open docs/turbo-quant-visualizer.html in a browser.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    coderjack and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    1313d77 View commit details
    Browse the repository at this point in the history
Loading