-
Notifications
You must be signed in to change notification settings - Fork 442
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
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
247f163
benchmark: configure PiPNN graph builds
SeliMeli eb88ed7
benchmark: add dedicated PiPNN batch pipeline
SeliMeli 50e115b
test(benchmark): cover PiPNN build pipelines
SeliMeli 996aef0
benchmark: exclude provider allocation from build timing
SeliMeli b9ca90c
docs(benchmark): clarify PiPNN memory-budget scope
SeliMeli d29d2fa
build(benchmark): update PiPNN feature lockfile
SeliMeli fd97504
test(benchmark): assert PiPNN registered results
SeliMeli 2e77d32
fix(benchmark): connect start slots to real graph sources
SeliMeli c0a4188
docs(benchmark): map PiPNN batch lifecycle
SeliMeli 6626540
fix(benchmark): preserve PiPNN start adjacency
SeliMeli 78213cc
refactor(benchmark): use diskann pipnn module
SeliMeli ed919b1
fix(benchmark): fail closed on unavailable pipnn
SeliMeli b78dc5d
fix(benchmark): reject pipnn dynamic runs
SeliMeli 4f0446d
fix(benchmark): adapt pipnn errors to main
SeliMeli 728e810
fix(benchmark): allow platform-sized input enum
SeliMeli a9ec844
docs(benchmark): complete vector safety proof
SeliMeli 87b7da3
docs(pipnn): simplify benchmark lifecycle comments
SeliMeli ae9c366
docs(pipnn): use direct benchmark wording
SeliMeli 8f78fbc
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.
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.