Files
OpenViking/docker/cuvs-dev/entrypoint.sh
T
Yuanqing ZHAOandYuanqing Zhao 39c778c953 feat: add cuVS vector search backend (#2974)
* feat: add cuVS vector search backend

* docs: add agent memory benchmark strategy

* bench: add cuVS index performance harness

* bench: add public ANN dataset tuning

* docs: record preliminary cuVS index results

* docs: clarify warm index latency

* docs: order cuVS before qdrant

* bench: aggregate independent index runs

* bench: order aggregate variants consistently

* docs: add repeatable index scaling results

* bench: add collection lifecycle benchmark

* docs: add collection lifecycle results

* perf: cache prepared cuvs filters

* docs: report prepared filter cache results

* bench: add async vector concurrency benchmark

* bench: aggregate service concurrency runs

* docs: add async concurrency results

* docs: clarify cuVS dtype behavior

* feat: add memory-aware cuVS auto mode

* feat: reuse native filters for cuVS search

* docs: publish cuVS integration plan as Markdown

* fix: route selective filters before cuVS rebuild

* docs: record selective-first routing results

---------

Co-authored-by: Yuanqing Zhao <2604121+yuanqingz@users.noreply.github.com>
2026-07-07 12:21:10 +08:00

19 lines
700 B
Bash

#!/bin/sh
set -eu
# A mounted worktree can reuse the native extension baked into the image.
# Python modules are then imported from the worktree, while the expensive C++
# engine build remains stable until its sources actually change.
if [ -n "${OPENVIKING_SOURCE_DIR:-}" ]; then
engine_dir="${OPENVIKING_SOURCE_DIR}/openviking/storage/vectordb/engine"
if [ ! -d "${engine_dir}" ]; then
echo "OPENVIKING_SOURCE_DIR is not an OpenViking worktree: ${OPENVIKING_SOURCE_DIR}" >&2
exit 2
fi
cp -a /opt/openviking-native-engine/. "${engine_dir}/"
export PYTHONPATH="${OPENVIKING_SOURCE_DIR}${PYTHONPATH:+:${PYTHONPATH}}"
cd "${OPENVIKING_SOURCE_DIR}"
fi
exec "$@"