You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Downstream check: zvec on the latest 0.8.x release #219
zvec pins RaBitQ-Library as a submodule (currently 0.7.0) and uses only core and FastScan.
0.8.0 renamed the query accessors k1xsumq()/kbxsumq()/kbase_sumq() to g_k1xsumq()/g_kbxsumq()/g_kbase_sumq(); zvec's ivf_rabitq_streamer_test.cc needs that one-line change when it moves to 0.8.
0.8.1 changed only thread-count resolution in include/rabitqlib/utils/tools.hpp and src/utils/thread_count.cpp (v0.8.0 causing segfault 11 on macOS #207: num_threads=0 honors OMP_NUM_THREADS); 0.8.2 changes no core, FastScan, SIMD or utils files.
Checks: build zvec's RaBitQ components against the 0.8.2 tag and run its IVF/HNSW RaBitQ streamer, dispatch and index tests. Then decide whether to propose the submodule bump to zvec.
zvec includes only core/ (encoder, metric, query, rotator), fastscan/ (data_layout, encoder, fastscan) and utils/space.hpp, which the planned 0.9 changes do not touch. Rerun this check for 0.9 only if 0.9 changes those headers, for example rotator serialization for format v2 (#212).
Ran this check against the 0.9 candidate. dev/0.9 contains main through v0.8.5, so the run also covers every 0.8.x change to core and FastScan. In the headers zvec includes, 0.9 adds METRIC_COSINE to MetricType and the ceil_log2 shift fix (#247).
Revisions. zvec main at 018b1eb3935fece0a9f49728ac3bdd3833acfa60, which pins RaBitQ-Library v0.7.0 (de793e8). Candidate: RaBitQ-Library dev/0.9 at c456f31. Baseline: v0.7.0, zvec's pin.
Platform. Linux x86-64, GCC 14.3.0, CMake 3.28, Ninja, Release. zvec builds RaBitQ-Library through its own thirdparty/RaBitQ-Library/CMakeLists.txt (core and FastScan only: RABITQ_BUILD_INDEX=OFF, RABITQ_USE_OPENMP=OFF, native optimization OFF).
Changes to zvec for the check.
thirdparty/RaBitQ-Library/CMakeLists.txt: RABITQ_SOURCE_DIR points at a git archive of the candidate (or of v0.7.0 for the baseline).
ivf_rabitq_streamer_test: 24 passed (build and search; close and reopen for L2, inner product, cosine and 1-bit; recall quality; filters; primary-key search; parameter and format validation)
Notes for zvec's eventual bump.
The kbxsumq() to g_kbxsumq() rename above.
src/turbo/CMakeLists.txt:239 adds thirdparty/RaBitQ-Library/RaBitQ-Library-0.7.0/include directly, so renaming the submodule directory needs that path updated too.
Not tested. The full zvec build (DB layer, Arrow, RocksDB, turbo, Python and C bindings), other platforms (ARM64, macOS, Windows, Android, iOS), zvec's Python tests, and a numerical comparison of recall or distances between candidate and baseline beyond each test's own thresholds.
0.9.0 is released. The check above ran on an earlier candidate. I repeated it on release/v0.9.0 at f6ff6d5, whose library sources match the v0.9.0 tag (later commits change documentation only), against zvec main at 8d978b0. Candidate and v0.7.0 again pass the same tests, 38 this time, because this run also builds hnsw_rabitq_index_test (4 tests). Full record: #263, "Downstream compatibility".
When zvec moves its submodule off v0.7.0, it needs two changes: kbxsumq() becomes g_kbxsumq() in tests/core/algorithm/ivf_rabitq/ivf_rabitq_streamer_test.cc:633, and the hard-coded RaBitQ-Library-0.7.0/include path in src/turbo/CMakeLists.txt:239 must change. That path only supplies the vendored Eigen.
Activity
[-]Downstream check: zvec on 0.8.2[/-][+]Downstream check: zvec on the latest 0.8.x release[/+]gouyt13 commentedon Nov 19, 2026
Ran this check against the 0.9 candidate.
dev/0.9containsmainthrough v0.8.5, so the run also covers every 0.8.x change to core and FastScan. In the headers zvec includes, 0.9 addsMETRIC_COSINEtoMetricTypeand theceil_log2shift fix (#247).Revisions. zvec
mainat 018b1eb3935fece0a9f49728ac3bdd3833acfa60, which pins RaBitQ-Library v0.7.0 (de793e8). Candidate: RaBitQ-Librarydev/0.9at c456f31. Baseline: v0.7.0, zvec's pin.Platform. Linux x86-64, GCC 14.3.0, CMake 3.28, Ninja, Release. zvec builds RaBitQ-Library through its own
thirdparty/RaBitQ-Library/CMakeLists.txt(core and FastScan only:RABITQ_BUILD_INDEX=OFF,RABITQ_USE_OPENMP=OFF, native optimization OFF).Changes to zvec for the check.
thirdparty/RaBitQ-Library/CMakeLists.txt:RABITQ_SOURCE_DIRpoints at agit archiveof the candidate (or of v0.7.0 for the baseline).tests/core/algorithm/ivf_rabitq/ivf_rabitq_streamer_test.cc:633callsg_kbxsumq()instead ofkbxsumq(), the accessor rename from 0.8.0 (refactor!: rename query factor accessors with the g_ prefix #201). No other source change was needed.Commands.
Results. Both builds compile without warnings. Candidate and baseline pass the same 34 tests:
rabitq_dispatch_test: 1 passedhnsw_rabitq_streamer_test: 9 passed (build and search, KNN/linear search, iterator, open/close, dimensions, ex-bits mismatch)ivf_rabitq_streamer_test: 24 passed (build and search; close and reopen for L2, inner product, cosine and 1-bit; recall quality; filters; primary-key search; parameter and format validation)Notes for zvec's eventual bump.
kbxsumq()tog_kbxsumq()rename above.src/turbo/CMakeLists.txt:239addsthirdparty/RaBitQ-Library/RaBitQ-Library-0.7.0/includedirectly, so renaming the submodule directory needs that path updated too.Not tested. The full zvec build (DB layer, Arrow, RocksDB, turbo, Python and C bindings), other platforms (ARM64, macOS, Windows, Android, iOS), zvec's Python tests, and a numerical comparison of recall or distances between candidate and baseline beyond each test's own thresholds.
gouyt13 commentedon Nov 23, 2026
0.9.0 is released. The check above ran on an earlier candidate. I repeated it on
release/v0.9.0at f6ff6d5, whose library sources match the v0.9.0 tag (later commits change documentation only), against zvecmainat 8d978b0. Candidate and v0.7.0 again pass the same tests, 38 this time, because this run also buildshnsw_rabitq_index_test(4 tests). Full record: #263, "Downstream compatibility".When zvec moves its submodule off v0.7.0, it needs two changes:
kbxsumq()becomesg_kbxsumq()intests/core/algorithm/ivf_rabitq/ivf_rabitq_streamer_test.cc:633, and the hard-codedRaBitQ-Library-0.7.0/includepath insrc/turbo/CMakeLists.txt:239must change. That path only supplies the vendored Eigen.