mirror of
https://github.com/volcengine/OpenViking.git
synced 2026-09-30 09:17:51 +08:00
* 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>
19 lines
700 B
Bash
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 "$@"
|