Skip to content

Commit 9598214

Browse files
authored
feat: Add BQ to CI benchmarks (qdrant#148)
* feat: Add BQ to CI benchmarks * feat: Allow manual benchmarks to specify engine config
1 parent a3a9b6b commit 9598214

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.github/workflows/continuous-benchmark.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
DATASET_TO_ENGINE["laion-small-clip"]="qdrant-continuous-benchmark"
2727
DATASET_TO_ENGINE["msmarco-sparse-100K"]="qdrant-sparse-vector"
2828
DATASET_TO_ENGINE["h-and-m-2048-angular-filters"]="qdrant-continuous-benchmark"
29+
DATASET_TO_ENGINE["dbpedia-openai-1M-1536-angular"]="qdrant-bq-continuous-benchmark"
2930
3031
for dataset in "${!DATASET_TO_ENGINE[@]}"; do
3132
export ENGINE_NAME=${DATASET_TO_ENGINE[$dataset]}

.github/workflows/manual-benchmark.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
dataset:
1111
description: "Dataset to benchmark"
1212
default: laion-small-clip
13+
engine_config:
14+
description: "Engine config to benchmark"
15+
default: qdrant-continuous-benchmark
1316

1417
jobs:
1518
runManualBenchmark:
@@ -27,6 +30,7 @@ jobs:
2730
export POSTGRES_HOST=${{ secrets.POSTGRES_HOST }}
2831
export QDRANT_VERSION=${{ inputs.qdrant_version }}
2932
export DATASETS=${{ inputs.dataset }}
33+
export ENGINE_NAME=${{ inputs.engine_config }}
3034
export POSTGRES_TABLE=benchmark_manual
3135
bash -x tools/setup_ci.sh
3236
bash -x tools/run_ci.sh

experiments/configurations/qdrant-single-node.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,33 @@
4545
],
4646
"upload_params": { "parallel": 16, "batch_size": 1024 }
4747
},
48+
{
49+
"name": "qdrant-bq-continuous-benchmark",
50+
"engine": "qdrant",
51+
"connection_params": { "timeout": 30 },
52+
"collection_params": {
53+
"hnsw_config": {
54+
"m": 32,
55+
"ef_construct": 256
56+
},
57+
"quantization_config": { "binary": {"always_ram": true} },
58+
"optimizers_config": {
59+
"max_segment_size": 1000000,
60+
"default_segment_number": 3,
61+
"memmap_threshold": 10000000
62+
}
63+
},
64+
"search_params": [
65+
{
66+
"parallel": 8,
67+
"config": {
68+
"hnsw_ef": 256,
69+
"quantization": { "rescore": true, "oversampling": 2.0 }
70+
}
71+
}
72+
],
73+
"upload_params": { "parallel": 16, "batch_size": 1024 }
74+
},
4875
{
4976
"name": "qdrant-sparse-vector",
5077
"engine": "qdrant",

0 commit comments

Comments
 (0)