-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Cuvs snapshot update #136057
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
Cuvs snapshot update #136057
Conversation
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small change needed but looks good
x-pack/plugin/gpu/src/main/java/org/elasticsearch/xpack/gpu/codec/DatasetUtilsImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CuVSMatrix.DataType dataType | ||
) { | ||
try { | ||
return (CuVSMatrix) createDatasetWithStrides$mh.invokeExact(memorySegment, size, dimensions, rowStride, columnStride, dataType); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we don't need columnStride and it's not really supported (yet) in cuvs-java, I think you might want to pass -1 here like you did in 14088bd. So you can remove all the int columnStride
params from all these functions and just have rowStride.
But up to you (I'm fine either way).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, may be we can keep this here similar to cuvs DatasetHelper
. and adjust it later if needed.
Removed changing flag from cuvs-java dependency.
This updates GPU Plugin to a newer CUVS version Co-authored-by: Brian Seeders <[email protected]>
💚 Backport successful
|
This updates GPU Plugin to a newer CUVS version Co-authored-by: Brian Seeders <[email protected]>
Update Nvidia CUVS java library to a newer version that includes strides
Co-authored-by: Brian Seeders [email protected]