-
Notifications
You must be signed in to change notification settings - Fork 93
36 lines (34 loc) · 1.26 KB
/
manual-benchmark.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Manual Benchmark
on:
repository_dispatch:
workflow_dispatch:
inputs:
qdrant_version:
description: "Version of qdrant to benchmark (tags/v1.6.1, <commit-id>, my-branch, docker/v1.5.1, ghcr/dev)"
default: ghcr/dev
dataset:
description: "Dataset to benchmark"
default: laion-small-clip
engine_config:
description: "Engine config to benchmark"
default: qdrant-continuous-benchmark
jobs:
runManualBenchmark:
name: manual benchmark - ${{ inputs.qdrant_version }} - ${{ inputs.dataset }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Benches
run: |
export HCLOUD_TOKEN=${{ secrets.HCLOUD_TOKEN }}
export POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}
export POSTGRES_HOST=${{ secrets.POSTGRES_HOST }}
export QDRANT_VERSION=${{ inputs.qdrant_version }}
export DATASETS=${{ inputs.dataset }}
export ENGINE_NAME=${{ inputs.engine_config }}
export POSTGRES_TABLE=benchmark_manual
bash -x tools/setup_ci.sh
bash -x tools/run_ci.sh