Skip to content

chore(deps): update dependency tensorchord/vectorchord to v0.4.0 #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 23, 2025

This PR contains the following updates:

Package Update Change
tensorchord/VectorChord minor 0.3.0 -> 0.4.0

Release Notes

tensorchord/VectorChord (tensorchord/VectorChord)

v0.4.0

Compare Source

VectorChord 0.4 Release Notes


Major Improvements
  • Streaming I/O & Page Prefetch

    • Complete rewrite of page layout to enable pipelined computation with streaming I/O.
    • On PostgreSQL 17, uses fadvise to prefetch buffers into the OS page cache, eliminating per-buffer read waits and fully leveraging disk throughput.
    • In upcoming PostgreSQL 18, direct support for io_uring will further streamline asynchronous I/O.
    • Benchmarks: 2–3× lower latency on cold queries (no buffer or page cache), translating to significantly improved tail latency in production.
  • Prefilter Acceleration

    • Introduces true prefilter support for vector + filter queries.
    • Previous postfilter approach ranked full result sets and then applied filters—inefficient when selectivity is low (e.g., 1% filter rate).
    • Applies SQL filters before full precision vector distance computations, avoiding unnecessary work.
    • Benchmarks: Up to 3× faster end-to-end search on highly selective filters without any additional tuning.

Other Improvements
  • Optimized Residual Quantization

    • Collaboration with RaBitQ author Jianyang: refactored distance term $|⟨o, q–c⟩|$ into $⟨o, q⟩ – ⟨o, c⟩$, so the query vector is quantized only once.
    • Result: ~20% QPS improvement over 0.3.
    • Recommendation: Enable residual quantization for L2 workloads.
  • Fast Walsh-Hadamard Transform for Rotation

    • Collaboration with RaBitQ author Jianyang: replaced manual vchordrq.prewarm_dim GUC with an on-the-fly Fast Walsh-Hadamard Transform.
    • Removes the need to configure a prewarmed dimension list and yields marginal speed gains during setup.

Thank you for using VectorChord! As always, we welcome feedback and contributions on GitHub.

Full Changelog: tensorchord/VectorChord@0.3.0...0.4.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) May 23, 2025 19:23
@renovate renovate bot merged commit 8800b08 into main May 24, 2025
8 of 13 checks passed
@renovate renovate bot deleted the renovate/tensorchord-vectorchord-0.x branch May 24, 2025 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant