Manual Benchmark #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |