Skip to content

Commit 2a653f7

Browse files
committed
fix: use different engine config to run sparse vector benchmarks
1 parent feb3323 commit 2a653f7

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.github/workflows/continuous-benchmark.yaml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,25 @@ jobs:
1717
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
1818
- name: Benches
1919
run: |
20-
DATASETS_TO_RUN=("laion-small-clip" "msmarco-sparse-1M")
21-
for dataset in "${DATASETS_TO_RUN[@]}"; do
22-
export DATASETS=$dataset
2320
export HCLOUD_TOKEN=${{ secrets.HCLOUD_TOKEN }}
2421
export GCS_KEY=${{ secrets.GCS_KEY }}
2522
export GCS_SECRET=${{ secrets.GCS_SECRET }}
2623
export POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}
2724
export POSTGRES_HOST=${{ secrets.POSTGRES_HOST }}
2825
29-
# Benchmark the dev branch:
30-
export QDRANT_VERSION=ghcr/dev
31-
bash -x tools/run_ci.sh
26+
declare -A DATASET_TO_ENGINE
27+
DATASET_TO_ENGINE["laion-small-clip"]="qdrant-continuous-benchmark"
28+
DATASET_TO_ENGINE["msmarco-sparse-1M"]="qdrant-sparse-vector"
3229
33-
# Benchmark the master branch:
34-
export QDRANT_VERSION=docker/master
35-
bash -x tools/run_ci.sh
36-
done
30+
for dataset in "${!DATASET_TO_ENGINE[@]}"; do
31+
export ENGINE_NAME=${DATASET_TO_ENGINE[$dataset]}
32+
export DATASETS=$dataset
33+
34+
# Benchmark the dev branch:
35+
export QDRANT_VERSION=ghcr/dev
36+
bash -x tools/run_ci.sh
37+
38+
# Benchmark the master branch:
39+
export QDRANT_VERSION=docker/master
40+
bash -x tools/run_ci.sh
41+
done

0 commit comments

Comments
 (0)