-
Notifications
You must be signed in to change notification settings - Fork 448
PiPNN 5/6: add dedicated benchmark pipelines #1294
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
Open
weiyaoluo (SeliMeli)
wants to merge
19
commits into
pipnn-stack/04-integration
from
pipnn-stack/05-benchmark
+554
−60
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
078f5e2
benchmark: configure PiPNN graph builds
SeliMeli 7ccd661
benchmark: add dedicated PiPNN batch pipeline
SeliMeli 363d4c3
test(benchmark): cover PiPNN build pipelines
SeliMeli 940c8ad
benchmark: exclude provider allocation from build timing
SeliMeli f83e0af
docs(benchmark): clarify PiPNN memory-budget scope
SeliMeli b456652
build(benchmark): update PiPNN feature lockfile
SeliMeli 66bb489
test(benchmark): assert PiPNN registered results
SeliMeli 9c5bd78
fix(benchmark): connect start slots to real graph sources
SeliMeli 68c433b
docs(benchmark): map PiPNN batch lifecycle
SeliMeli fe9f380
fix(benchmark): preserve PiPNN start adjacency
SeliMeli a36b789
refactor(benchmark): use diskann pipnn module
SeliMeli 75c288c
fix(benchmark): fail closed on unavailable pipnn
SeliMeli ecba9fd
fix(benchmark): reject pipnn dynamic runs
SeliMeli cdf7489
fix(benchmark): adapt pipnn errors to main
SeliMeli 191f959
fix(benchmark): allow platform-sized input enum
SeliMeli 6a57fbc
docs(benchmark): complete vector safety proof
SeliMeli 3c39ade
docs(pipnn): simplify benchmark lifecycle comments
SeliMeli 000b225
docs(pipnn): use direct benchmark wording
SeliMeli a115484
perf(pipnn): score each start candidate once
SeliMeli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| { | ||
| "search_directories": [ | ||
| "test_data/disk_index_search" | ||
| ], | ||
| "jobs": [ | ||
| { | ||
| "type": "disk-index", | ||
| "content": { | ||
| "source": { | ||
| "disk-index-source": "Build", | ||
| "data_type": "float32", | ||
| "data": "disk_index_siftsmall_learn_256pts_data.fbin", | ||
| "distance": "squared_l2", | ||
| "dim": 128, | ||
| "max_degree": 32, | ||
| "l_build": 50, | ||
| "alpha": 1.2, | ||
| "num_threads": 1, | ||
| "build_ram_limit_gb": 2.0, | ||
| "num_pq_chunks": 128, | ||
| "build_algorithm": { | ||
| "algorithm": "PiPNN", | ||
| "c_max": 64, | ||
| "c_min": 16, | ||
| "p_samp": 0.05, | ||
| "fanout": [4, 2], | ||
| "k": 2, | ||
| "replicas": 1 | ||
| }, | ||
| "save_path": "pipnn_disk_index" | ||
| }, | ||
| "search_phase": { | ||
| "queries": "disk_index_sample_query_10pts.fbin", | ||
| "groundtruth": "disk_index_10pts_idx_uint32_exact_ground_truth.bin", | ||
| "search_list": [10, 20, 40], | ||
| "beam_width": 4, | ||
| "recall_at": 10, | ||
| "num_threads": 1, | ||
| "is_flat_search": false, | ||
| "distance": "squared_l2", | ||
| "vector_filters_file": null | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "search_directories": [ | ||
| "test_data/disk_index_search" | ||
| ], | ||
| "jobs": [ | ||
| { | ||
| "type": "graph-index-build", | ||
| "content": { | ||
| "source": { | ||
| "index-source": "Build", | ||
| "data_type": "float32", | ||
| "data": "disk_index_siftsmall_learn_256pts_data.fbin", | ||
| "distance": "squared_l2", | ||
| "max_degree": 32, | ||
| "l_build": 50, | ||
| "alpha": 1.2, | ||
| "backedge_ratio": 1.0, | ||
| "num_threads": 1, | ||
| "start_point_strategy": "first_vector", | ||
| "build_algorithm": { | ||
| "algorithm": "PiPNN", | ||
| "c_max": 64, | ||
| "c_min": 16, | ||
| "p_samp": 0.05, | ||
| "fanout": [4, 2], | ||
| "k": 2, | ||
| "replicas": 1 | ||
| } | ||
| }, | ||
| "search_phase": { | ||
| "search-type": "topk", | ||
| "queries": "disk_index_sample_query_10pts.fbin", | ||
| "groundtruth": "disk_index_10pts_idx_uint32_exact_ground_truth.bin", | ||
| "reps": 1, | ||
| "num_threads": [1], | ||
| "runs": [ | ||
| { | ||
| "search_n": 10, | ||
| "search_l": [10, 20, 40], | ||
| "recall_k": 10 | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
This file contains hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.