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: tensorchord/VectorChord
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.3.0
Choose a base ref
...
head repository: tensorchord/VectorChord
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.4.0
Choose a head ref
  • 17 commits
  • 126 files changed
  • 5 contributors

Commits on Apr 14, 2025

  1. chore: update pgrx to 0.14.1 (#233)

    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored Apr 14, 2025
    Configuration menu
    Copy the full SHA
    0185cde View commit details
    Browse the repository at this point in the history
  2. feat: cost estimate (#234)

    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored Apr 14, 2025
    Configuration menu
    Copy the full SHA
    afb84b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2025

  1. fix: do not error if vector has unexpected length (#236)

    Consider the following scenario:
    
    1. Process 1 performs a search and finds vector A. It locates `x` (1920
    dimensions).
    2. Process 2 deletes vector A from the index. `x` (1920 dimensions) and
    `y` (1 dimension) are deleted.
    3. Process 3 inserts vector B into the index. `y` (1920 dimensions) and
    `z` (1 dimension) are inserted.
    4. Process 1 locates `y` (1920 dimensions) and detects a length
    mismatch, resulting in an error.
    
    Since vector a can be deleted and is therefore guaranteed not to be
    included in the query results, any error related to a during reranking
    should be silently ignored.
    
    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    6c31c86 View commit details
    Browse the repository at this point in the history
  2. add vchord-suite image (#229)

    Signed-off-by: xieydd <xieydd@gmail.com>
    xieydd authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    59ac508 View commit details
    Browse the repository at this point in the history
  3. docs: fix readme callout (#237)

    cc @xieydd
    
    ---------
    
    Signed-off-by: Keming <kemingyang@tensorchord.ai>
    kemingy authored Apr 15, 2025
    Configuration menu
    Copy the full SHA
    5c4b1a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2025

  1. Configuration menu
    Copy the full SHA
    44810bd View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2025

  1. feat: prefetch in reranking (#240)

    adds a GUC `io_rerank`, with the following possible values:
    
    * `read_buffer`: indicates a preference for `ReadBuffer`.
    * `prefetch_buffer`: indicates a preference for both `PrefetchBuffer`
    and `ReadBuffer`; it's good for disk vector search; this is default on
    PostgreSQL 13, 14, 15, 16.
    * `read_stream`: indicates a preference for `read_stream`; it's good for
    disk vector search; this option is only available in PostgreSQL 17; this
    is default on PostgreSQL 17.
    
    notes:
    
    * prefetching distance of `prefetch_buffer` depends on the compile-time
    constant `WINDOW_SIZE`.
    * prefetching distance of `read_stream` depends on the GUC parameter
    `effective_io_concurrency`.
    * prefetching for the bit vector has not been implemented.
    * prefetching for the centroid has been implemented, but disabled.
    
    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored Apr 25, 2025
    Configuration menu
    Copy the full SHA
    29f0f2e View commit details
    Browse the repository at this point in the history
  2. chore: update compiler to nightly-2025-04-25 (#241)

    AVX512 (probably excluding AVX512FP16) is being stabilized. With the
    next compiler version bump, we might finally be able to get rid of
    nightly toolchain.
    
    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored Apr 25, 2025
    Configuration menu
    Copy the full SHA
    800819a View commit details
    Browse the repository at this point in the history

Commits on May 6, 2025

  1. feat: add vectorized version of u8::reduce_sum_of_xy (#242)

    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored May 6, 2025
    Configuration menu
    Copy the full SHA
    a47d48b View commit details
    Browse the repository at this point in the history

Commits on May 9, 2025

  1. feat: prefetch in searching (#244)

    Adds a GUC `io_search`, with the same possible values of `io_rerank`.
    
    notes:
    
    * prefetching for the bottom-level bit vectors is implemented.
    * prefetching for the other levels of bit vectors is not implemented
    yet.
    
    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored May 9, 2025
    Configuration menu
    Copy the full SHA
    3d49fb5 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2025

  1. chore: add license check and license header (#248)

    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored May 13, 2025
    Configuration menu
    Copy the full SHA
    d895697 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2025

  1. add vectorchord docs link (#246)

    Signed-off-by: xieydd <xieydd@gmail.com>
    xieydd authored May 14, 2025
    Configuration menu
    Copy the full SHA
    5171d09 View commit details
    Browse the repository at this point in the history
  2. feat: support prefilter (#247)

    ## Feat
    - Enable `rerank_in_table=true` with `read_stream`(pg17) and
    `prefetch_buffer`(not pg17)
    
    ## Optimization
    - Remove redundant matrix multiply in both heap query/insert,
    accerate most searches
    
    ## Chore
    - Rename `vchordrq.prererank_filtering` into `vchordrq.prefilter`
    
    ## Test
    - Add specialized tests for pg16(prefetch_buffer) and pg17(read_stream)
    
    ---------
    
    Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
    cutecutecat authored May 14, 2025
    Configuration menu
    Copy the full SHA
    b7c6a7f View commit details
    Browse the repository at this point in the history

Commits on May 21, 2025

  1. feat: residual quantization without too many lookup tables (#252)

    note:
    - residual quantization for inner product is implemented
    
    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored May 21, 2025
    Configuration menu
    Copy the full SHA
    b44bae9 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2025

  1. feat: remove random matrix (#255)

    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored May 22, 2025
    Configuration menu
    Copy the full SHA
    5c471e3 View commit details
    Browse the repository at this point in the history
  2. chore: upload 0.4.0 schema scripts (#254)

    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi authored May 22, 2025
    Configuration menu
    Copy the full SHA
    dffb807 View commit details
    Browse the repository at this point in the history
  3. chore: bump version number to 0.4.0

    Signed-off-by: usamoi <usamoi@outlook.com>
    usamoi committed May 22, 2025
    Configuration menu
    Copy the full SHA
    5c3b5bc View commit details
    Browse the repository at this point in the history
Loading