-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lasq: Add cases for lasq in ann-benchmark
- Loading branch information
1 parent
cf84fe7
commit e139084
Showing
5 changed files
with
100 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,6 +97,20 @@ jobs: | |
first: ${{ needs.real-version-in-tag.outputs.real_version }} | ||
second: "1.26.0" | ||
operator: ">=" | ||
newer-or-equal-than-1_28: | ||
name: "Check if the version is newer than 1.28" | ||
needs: real-version-in-tag | ||
runs-on: ubuntu-latest | ||
outputs: | ||
check: ${{ steps.semver_compare.outputs.result }} | ||
steps: | ||
- name: Semver Compare | ||
id: semver_compare | ||
uses: fabriziocacicia/[email protected] | ||
with: | ||
first: ${{ needs.real-version-in-tag.outputs.real_version }} | ||
second: "1.28.0" | ||
operator: ">=" | ||
filter-memory-leak: | ||
name: Filter (cache) memory leak when querying while importing | ||
if: ${{ github.event.inputs.test_to_run == 'filter-memory-leak' || github.event.inputs.test_to_run == '' }} | ||
|
@@ -258,6 +272,44 @@ jobs: | |
path: 'results' | ||
destination: 'ann-pipelines/github-action-runs' | ||
glob: '*.json' | ||
|
||
ann-benchmarks-lasq-sift-aws: | ||
needs: [newer-or-equal-than-1_28] | ||
if: ${{ (needs.newer-or-equal-than-1_28.outputs.check == 'true') && (github.event.inputs.test_to_run == 'ann-benchmarks-lasq-sift-aws' || github.event.inputs.test_to_run == '')}} | ||
name: "[bench AWS] SIFT1M lasq=true" | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY}} | ||
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} | ||
DATASET: sift-128-euclidean | ||
DISTANCE: l2-squared | ||
REQUIRED_RECALL: 0.992 | ||
QUANTIZATION: lasq | ||
PERSISTENCE_LSM_ACCESS_STRATEGY: ${{inputs.lsm_access_strategy}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{secrets.DOCKER_USERNAME}} | ||
password: ${{secrets.DOCKER_PASSWORD}} | ||
- id: 'gcs_auth' | ||
name: 'Authenticate to Google Cloud' | ||
uses: 'google-github-actions/auth@v1' | ||
with: | ||
credentials_json: ${{secrets.GCP_SERVICE_ACCOUNT_BENCHMARKS}} | ||
- name: 'Set up Cloud SDK' | ||
uses: 'google-github-actions/setup-gcloud@v1' | ||
- name: Run chaos test | ||
if: always() | ||
run: ./ann_benchmark_quantization_aws.sh | ||
- id: 'upload-files' | ||
uses: 'google-github-actions/upload-cloud-storage@v1' | ||
with: | ||
path: 'results' | ||
destination: 'ann-pipelines/github-action-runs' | ||
glob: '*.json' | ||
ann-benchmarks-pq-glove-aws: | ||
name: "[bench AWS] Glove100 pq=true" | ||
if: ${{ github.event.inputs.test_to_run == 'ann-benchmarks-pq-glove-aws' || github.event.inputs.test_to_run == '' }} | ||
|
@@ -331,6 +383,43 @@ jobs: | |
path: 'results' | ||
destination: 'ann-pipelines/github-action-runs' | ||
glob: '*.json' | ||
ann-benchmarks-lasq-glove-aws: | ||
needs: [newer-or-equal-than-1_28] | ||
if: ${{ (needs.newer-or-equal-than-1_28.outputs.check == 'true') && ( github.event.inputs.test_to_run == 'ann-benchmarks-lasq-glove-aws' || github.event.inputs.test_to_run == '' ) }} | ||
name: "[bench AWS] Glove100 lasq=true" | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY}} | ||
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} | ||
DATASET: glove-100-angular | ||
DISTANCE: cosine | ||
REQUIRED_RECALL: 0.89 | ||
QUANTIZATION: lasq | ||
PERSISTENCE_LSM_ACCESS_STRATEGY: ${{inputs.lsm_access_strategy}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{secrets.DOCKER_USERNAME}} | ||
password: ${{secrets.DOCKER_PASSWORD}} | ||
- id: 'gcs_auth' | ||
name: 'Authenticate to Google Cloud' | ||
uses: 'google-github-actions/auth@v1' | ||
with: | ||
credentials_json: ${{secrets.GCP_SERVICE_ACCOUNT_BENCHMARKS}} | ||
- name: 'Set up Cloud SDK' | ||
uses: 'google-github-actions/setup-gcloud@v1' | ||
- name: Run chaos test | ||
if: always() | ||
run: ./ann_benchmark_quantization_aws.sh | ||
- id: 'upload-files' | ||
uses: 'google-github-actions/upload-cloud-storage@v1' | ||
with: | ||
path: 'results' | ||
destination: 'ann-pipelines/github-action-runs' | ||
glob: '*.json' | ||
ann-benchmarks-sift-gcp: | ||
name: "[bench GCP] SIFT1M pq=false" | ||
if: ${{ github.event.inputs.test_to_run == 'ann-benchmarks-sift-gcp' || github.event.inputs.test_to_run == '' }} | ||
|
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
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
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
Submodule multi-tenancy-load-test
updated
18 files
+4 −0 | README.md | |
+36 −0 | concurrency-diagnostics/go.mod | |
+202 −0 | concurrency-diagnostics/go.sum | |
+269 −0 | concurrency-diagnostics/run.go | |
+1 −1 | config.env | |
+1 −1 | create_cluster.sh | |
+0 −2 | importer/Dockerfile | |
+3 −0 | importer/manifests/import-job.yaml | |
+3 −0 | importer/manifests/querying-deployment.yaml | |
+3 −0 | importer/manifests/reset-schema-pod.yaml | |
+9 −5 | importer/query.sh | |
+21 −31 | importer/querying.py | |
+1 −0 | importer/requirements.txt | |
+24 −42 | importer/reset_schema.py | |
+5 −31 | importer/schema_corruption_checker.py | |
+31 −41 | importer/tenants_and_data.py | |
+1 −1 | weaviate/deploy.sh | |
+20 −2 | weaviate/values.yaml |