-
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.
Add test for multivector with recall and qps
Add one test case to validate recall and qps after the reboot of the node Signed-off-by: Rodrigo Lopez <[email protected]>
- Loading branch information
1 parent
8556f19
commit a835dfd
Showing
10 changed files
with
206 additions
and
45 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_29: | ||
name: "Check if the version is newer than 1.29" | ||
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.29.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 == '' }} | ||
|
@@ -341,6 +355,7 @@ jobs: | |
DISTANCE: l2-squared | ||
REQUIRED_RECALL: 0.999 | ||
PERSISTENCE_LSM_ACCESS_STRATEGY: ${{inputs.lsm_access_strategy}} | ||
BOOT_DISK_SIZE: 20GB | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Login to Docker Hub | ||
|
@@ -374,6 +389,7 @@ jobs: | |
DISTANCE: l2-squared | ||
REQUIRED_RECALL: 0.992 | ||
PERSISTENCE_LSM_ACCESS_STRATEGY: ${{inputs.lsm_access_strategy}} | ||
BOOT_DISK_SIZE: 20GB | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Login to Docker Hub | ||
|
@@ -397,6 +413,42 @@ jobs: | |
path: 'results' | ||
destination: 'ann-pipelines/github-action-runs' | ||
glob: '*.json' | ||
ann-benchmarks-multivector-gcp: | ||
name: "[bench GCP] MULTIVECTOR3M" | ||
needs: [newer-or-equal-than-1_29] | ||
if: ${{ (needs.newer-or-equal-than-1_29.outputs.check == 'true') && (github.event.inputs.test_to_run == 'ann-benchmarks-multivector-gcp' || github.event.inputs.test_to_run == '') }} | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
env: | ||
DATASET: lotte-recreation-reduced-vl | ||
DISTANCE: dot | ||
REQUIRED_RECALL: 0.992 | ||
PERSISTENCE_LSM_ACCESS_STRATEGY: ${{inputs.lsm_access_strategy}} | ||
BOOT_DISK_SIZE: 20GB | ||
MULTIVECTOR_DATASET: true | ||
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_gcp.sh | ||
- id: 'upload-files' | ||
uses: 'google-github-actions/upload-cloud-storage@v1' | ||
with: | ||
path: 'results' | ||
destination: 'ann-pipelines/github-action-runs' | ||
glob: '*.json' | ||
batch-import-many-classes: | ||
name: One class receives long and expensive batches, user tries to create and delete 100s of classes in parallel | ||
if: ${{ github.event.inputs.test_to_run == 'batch-import-many-classes' || 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
weaviate-client==4.7.0-rc.0 | ||
weaviate-client>=4.11.0 | ||
loguru==0.5.3 | ||
seaborn==0.12.2 | ||
h5py==3.11.0 | ||
pandas==2.2.2 | ||
h5py==3.13.0 | ||
pandas==2.2.3 | ||
torch==2.6.0 |
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
Oops, something went wrong.