-
Notifications
You must be signed in to change notification settings - Fork 215
Scripts for Billion-Scale Synthetic Data Generation #2247
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
Merged
rapids-bot
merged 24 commits into
NVIDIA:release/26.08
from
jinsolp:billion-scale-data-gen
Jul 25, 2026
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
6ed5dba
synthetic data gen
jinsolp d3403ef
uint64 header support based on size
jinsolp 5ce5b37
uint64 support in synthesize data
jinsolp b6e2dc3
add experiment result sin readme
jinsolp b8519b1
rm norm flag
jinsolp 877785e
cleanup
jinsolp dd13121
cleanup and rename
jinsolp d123aad
cleanup readme
jinsolp c88129b
norm quantiles
jinsolp c2afa9d
coderabbit reviews
jinsolp 4884b85
batched norm for better mem usage
jinsolp 3240c2a
fix typo
jinsolp 766569a
tqdm dependency
jinsolp 030279c
req -> installaton section
jinsolp 8e9a57a
readme -> docs
jinsolp ed67f19
automatic yaml dump
jinsolp 90bdaf8
ref algo file
jinsolp c056572
del centroids_out
jinsolp daae166
copyright style check
jinsolp 53718b7
minor fixes
jinsolp 142d27b
exploit existing uint64 GT
jinsolp a78d1ae
Merge branch 'release/26.08' into billion-scale-data-gen
jinsolp c7fa198
packaging feedback
jinsolp 9e737b7
Merge branch 'release/26.08' into billion-scale-data-gen
cjnolet 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
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
42 changes: 42 additions & 0 deletions
42
python/cuvs_bench/cuvs_bench/synthesize_dataset/__init__.py
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,42 @@ | ||
| # | ||
| # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # | ||
|
|
||
| from ._fingerprint import Fingerprint | ||
| from ._fit import fit_fingerprint | ||
| from ._generate import ( | ||
| gen_cluster_gpu, | ||
| generate_queries, | ||
| generate_synthetic_dataset, | ||
| generate_synthetic_dataset_to_file, | ||
| get_cluster_seed, | ||
| get_num_points_per_cluster, | ||
| resolve_norm_scheme, | ||
| ) | ||
| from ._ground_truth import ( | ||
| compute_groundtruth_exact, | ||
| compute_groundtruth_nprobe, | ||
| ) | ||
| from ._io import ( | ||
| load_fingerprint, | ||
| save_fingerprint, | ||
| ) | ||
| from ._verify import verify_groundtruth | ||
|
|
||
| __all__ = [ | ||
| "Fingerprint", | ||
| "load_fingerprint", | ||
| "compute_groundtruth_nprobe", | ||
| "compute_groundtruth_exact", | ||
| "fit_fingerprint", | ||
| "gen_cluster_gpu", | ||
| "generate_queries", | ||
| "generate_synthetic_dataset", | ||
| "generate_synthetic_dataset_to_file", | ||
| "get_cluster_seed", | ||
| "get_num_points_per_cluster", | ||
| "resolve_norm_scheme", | ||
| "save_fingerprint", | ||
| "verify_groundtruth", | ||
| ] |
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.