Repository navigation
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
45
commits into
pipnn-stack/04-integration
from
pipnn-stack/05-benchmark
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
8fc7443
benchmark: configure PiPNN graph builds
SeliMeli ffd730b
benchmark: add dedicated PiPNN batch pipeline
SeliMeli fc865c5
test(benchmark): cover PiPNN build pipelines
SeliMeli bb98da2
benchmark: exclude provider allocation from build timing
SeliMeli aeb65e2
docs(benchmark): clarify PiPNN memory-budget scope
SeliMeli ba3759a
build(benchmark): update PiPNN feature lockfile
SeliMeli 0c93372
test(benchmark): assert PiPNN registered results
SeliMeli a81f771
fix(benchmark): connect start slots to real graph sources
SeliMeli de207fe
docs(benchmark): map PiPNN batch lifecycle
SeliMeli 856c702
fix(benchmark): preserve PiPNN start adjacency
SeliMeli 63de4a7
refactor(benchmark): use diskann pipnn module
SeliMeli 9a3be65
fix(benchmark): fail closed on unavailable pipnn
SeliMeli 9000c18
fix(benchmark): reject pipnn dynamic runs
SeliMeli ea200b3
fix(benchmark): adapt pipnn errors to main
SeliMeli 4f2429e
fix(benchmark): allow platform-sized input enum
SeliMeli f401eeb
docs(benchmark): complete vector safety proof
SeliMeli c50648c
docs(pipnn): simplify benchmark lifecycle comments
SeliMeli 411d00b
docs(pipnn): use direct benchmark wording
SeliMeli 75f4a3b
perf(pipnn): score each start candidate once
SeliMeli 8556fa8
fix(benchmark): retain spherical summary arm
SeliMeli 20842c2
Merge batched core into PiPNN benchmarks
SeliMeli c6d1670
perf(pipnn): install graph rows in parallel
SeliMeli ba99dd7
Merge reviewed PiPNN kernel tests into benchmarks
SeliMeli cfced02
Merge TopK visitor into PR5
SeliMeli c8ecdfd
Merge fast PiPNN norms into PR5
SeliMeli c0f2165
Merge shared GEMM test helper into PR5
SeliMeli 76befef
Merge focused GEMM cases into PR5
SeliMeli 3300840
Keep matrix view hardening outside PR5
SeliMeli 2438638
Sync PR2 Clippy fix through PR5
SeliMeli 3b694c1
Sync rewritten PiPNN core tests through PR5
SeliMeli 14a5eee
Sync PiPNN partition coverage through PR5
SeliMeli abcab8d
Sync NEON tracking cleanup through PR5
SeliMeli c2db2c5
merge(pipnn): carry review fixes into benchmarks
SeliMeli 7d8f3bb
merge(pipnn): carry top-k simplification into benchmarks
SeliMeli 8e456bc
merge(pipnn): carry debug-only top-k checks into benchmarks
SeliMeli 0875c04
merge(pipnn): catch benchmarks up with main through integration
SeliMeli 8a2ccf1
merge(pipnn): catch benchmarks up with core review changes
SeliMeli 5aa2bb6
merge(pipnn): catch benchmarks up with the integration import fix
SeliMeli a5b28cb
merge(pipnn): catch benchmarks up with the unsorted leaf candidates
SeliMeli d7fcc93
merge(pipnn): catch benchmarks up with the fixed assignment stripe
SeliMeli 0944aef
merge(pipnn): catch benchmarks up with the prune pool cap
SeliMeli 93f8bd1
merge(pipnn): catch benchmarks up with the seed constant docs
SeliMeli 0a957d4
merge(pipnn): catch benchmarks up with split RNG seeds
SeliMeli 0a303b3
merge(pipnn): catch benchmarks up with the caller seed
SeliMeli d5602dc
merge(pipnn): catch benchmarks up with the partitioning renames
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,45 @@ | ||
| { | ||
| "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, | ||
| "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,46 @@ | ||
| { | ||
| "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, | ||
| "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.