Skip to content
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

Fix distance computations in Native provider #389

Merged
merged 3 commits into from
Jan 23, 2025
Merged

Conversation

marianotepper
Copy link
Collaborator

@marianotepper marianotepper commented Jan 22, 2025

Fixes #385, which was caused by not using MemorySegmentVectorFloat.offset to compute the correct offset when loading a vector with FloatVector.fromMemorySegment. Also fixed a couple of bugs in the tail computations.

@marianotepper marianotepper requested a review from jkni January 22, 2025 18:03
Copy link
Collaborator

@jkni jkni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but we need to sort out the Test2DThreshold failures on main. It makes it hard to understand whether this will have any adverse effects on CI. Other tests are passing for me locally.

@marianotepper
Copy link
Collaborator Author

I opened #390 I will take care of it.

@marianotepper marianotepper marked this pull request as ready for review January 23, 2025 00:45
@marianotepper marianotepper merged commit 86f747c into main Jan 23, 2025
0 of 6 checks passed
@marianotepper marianotepper deleted the nvq_native branch January 23, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AssertionError in testNVQEncodings
2 participants