-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support vector ANN search benchmarking #3094
Draft
HugoWenTD
wants to merge
1
commit into
MariaDB:bb-11.4-vec-vicentiu
Choose a base branch
from
HugoWenTD:bb-11.4-vec-ann-benchmark
base: bb-11.4-vec-vicentiu
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Support vector ANN search benchmarking #3094
HugoWenTD
wants to merge
1
commit into
MariaDB:bb-11.4-vec-vicentiu
from
HugoWenTD:bb-11.4-vec-ann-benchmark
Conversation
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
|
Test resultsExample for a local run with
|
HugoWenTD
force-pushed
the
bb-11.4-vec-ann-benchmark
branch
2 times, most recently
from
March 8, 2024 05:09
ac8d6d9
to
7a3507a
Compare
HugoWenTD
force-pushed
the
bb-11.4-vec-ann-benchmark
branch
2 times, most recently
from
March 19, 2024 20:50
38fba8a
to
663c971
Compare
HugoWenTD
force-pushed
the
bb-11.4-vec-ann-benchmark
branch
from
March 26, 2024 22:42
663c971
to
ae69733
Compare
cvicentiu
force-pushed
the
bb-11.4-vec-vicentiu
branch
from
April 4, 2024 10:11
2f6b2b3
to
3d0e4ea
Compare
HugoWenTD
force-pushed
the
bb-11.4-vec-ann-benchmark
branch
2 times, most recently
from
April 9, 2024 18:01
746db91
to
205a394
Compare
Introduce scripts and Dockerfile for executing the `ann-benchmarks` tool, aimed at vector search performance testing. Support running the ANN benchmarking both in GitLab CI and manually. Developer Interface: Both of the scripts provide flexibility for altering default behavior via environment variables. Refer to the detailed description in the scripts' documentation section. - `run-local.sh`: This script facilitates the execution of the ANN (Approximate Nearest Neighbors) benchmarking test either against local builds or a specified folder where the MariaDB server is installed. - `run-docker.sh`: This script automates the execution of the ANN benchmarking test within a Docker container. It builds the required Docker image if it doesn't exist or if forced, then build the source code and runs the benchmark in the specified workspace. GitLab CI Build: - A new job `ann-benchmark` is included in the test stage. This job runs ann-benchmark against the MariaDB server built in Ubuntu 22.04. Initially, we are using the `random-xs-20-euclidean` dataset with 20 dimensions and 10000 records.
HugoWenTD
force-pushed
the
bb-11.4-vec-ann-benchmark
branch
from
April 11, 2024 21:30
205a394
to
500403f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Introduce scripts and Docker file for running the
ann-benchmarks
tool, dedicated to vector search performance testing.Offer developers support to run the benchmark in their development environment via existing MariaDB builds or by deploying the source code and executing the benchmark within Docker.
Also, integrate these builds into GitLab CI for Ubuntu 22.04 and include ANN benchmarking tests.
For detailed usage instructions, refer to the commit message and script help command.
How can this PR be tested?
Manual test was done for the scripts. The script is also integrated in Git-Lab CI pipeline.
Basing the PR against the correct MariaDB version
Backward compatibility
The changes fully backward compatible.
Copyright
All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.