-
Notifications
You must be signed in to change notification settings - Fork 184
[Java] Replace the C wrapper layer with the Panama API-based Java implementation #916
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 31 commits into
rapidsai:branch-25.08
from
SearchScale:vivek/replace-c-layer-with-panama-impl
Jun 5, 2025
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
acae395
initial work
narangvivek10 3116819
fix for cagra search
narangvivek10 29362e5
bruteforce implementation
narangvivek10 4ffec00
hnsw implementation
narangvivek10 f6bb090
gpuInfo implementation
narangvivek10 f150914
CAGRA index dims and size implementation
narangvivek10 228a02f
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
narangvivek10 d8c8769
remove panama class and additional refactoring
narangvivek10 184f12b
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
narangvivek10 d7ce786
update CagraBuildAndSearchIT - remove getIndexSize call
narangvivek10 1dabaf8
additional refactoring changes
narangvivek10 ac9f98d
API update - move CagraCompressionParams from CagraIndex to CagraInde…
narangvivek10 de65604
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
narangvivek10 9481325
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
narangvivek10 cd8b859
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
narangvivek10 66dca00
Find the libcuvs_c.so during runtime, using LD_LIBRARY_PATH
442a67e
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
chatman 14bee25
Build fix: jextract couldn't find cudaMemcpy, so adding cuda_runtime_…
bcf87f1
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
chatman e043c8c
Fixing Panama Bindings generation for CUDA 12.8: removing named heade…
b36d005
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
chatman 3e7ca02
Removing the C layer's .so file completely
71ca015
Minor cleanups
e9a8b6d
style-check fix
narangvivek10 6675419
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
narangvivek10 ff0c7a3
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
chatman d69d12a
Merge branch 'branch-25.06' into vivek/replace-c-layer-with-panama-impl
chatman 410de12
Merge branch 'branch-25.08' into vivek/replace-c-layer-with-panama-impl
narangvivek10 39f92d7
style-check fixes
narangvivek10 2b56f59
Merge branch 'branch-25.08' into vivek/replace-c-layer-with-panama-impl
chatman b104f19
review fixes
narangvivek10 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| # CuVS Java API | ||
| # cuVS Java API | ||
|
|
||
|
|
||
| CuVS Java API provides a Java based simple, efficient, and a robust vector search API. | ||
| cuVS Java API provides a Java based simple, efficient, and a robust vector search API. | ||
|
|
||
| > [!CAUTION] | ||
| > CuVS 25.06 contains an experimental version and updates to this API are expected in the coming release. | ||
| > This contains an experimental APIs and may change in upcoming releases. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
|
|
@@ -21,7 +21,11 @@ The libcuvs C and C++ libraries are needed for this API. If libcuvs libraries ha | |
| Alternatively, if libcuvs libraries are already built and you just want to build this API, please | ||
| do `./build.sh java` in the top level directory or just do `./build.sh` in this directory. | ||
|
|
||
| ## Testing | ||
|
|
||
| Run `./build.sh --run-java-tests` from this directory. | ||
|
|
||
|
Comment on lines
+24
to
+27
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👏 |
||
|
|
||
| ## Examples | ||
|
|
||
| A few starter examples of CAGRA, HNSW, and Bruteforce index are provided in the `examples` directory. | ||
| A few starter examples of CAGRA, HNSW, and Bruteforce indexing and searching are provided in the `examples` directory. | ||
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
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
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.