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

feat: support veci8 #326

Merged
merged 18 commits into from
Mar 4, 2024
Merged

Conversation

my-vegetable-has-exploded
Copy link
Contributor

close #196

veci8 use i8 as element type.

Copy link
Member

@VoVAllen VoVAllen left a comment

Choose a reason for hiding this comment

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

  • Please fix the CI with the DCO signoff
  • Resolve the conflicts
  • Add some tests for the int8 calculation/conversion, and end2end SQL tests

Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
@my-vegetable-has-exploded my-vegetable-has-exploded marked this pull request as ready for review February 24, 2024 15:55
@VoVAllen
Copy link
Member

Please resolve the conflicts

Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
@usamoi
Copy link
Collaborator

usamoi commented Feb 28, 2024 via email

fix dot_vnni add more tests for similarity.
Add sum and l2_norm for Veci8Header.
fix other comments.

Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
@my-vegetable-has-exploded
Copy link
Contributor Author

Thanks for review.

Since tests for vnni need specific support, I didn't add it into tests. You can check it here https://github.com/my-vegetable-has-exploded/dot-bench.

@usamoi
Copy link
Collaborator

usamoi commented Feb 29, 2024

Since tests for vnni need specific support, I didn't add it into tests.

You can add tests that only run on specific targets.

ref:
https://github.com/tensorchord/pgvecto.rs/blob/main/crates/c/tests/x86_64.rs

@VoVAllen
Copy link
Member

is this ready for review?

@my-vegetable-has-exploded
Copy link
Contributor Author

is this ready for review?

yes.

Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
usamoi
usamoi previously approved these changes Mar 1, 2024
@usamoi
Copy link
Collaborator

usamoi commented Mar 1, 2024

Could you submit a PR to update the document (mainly schema.md) in https://github.com/tensorchord/pgvecto.rs-docs?

@my-vegetable-has-exploded
Copy link
Contributor Author

Could you submit a PR to update the document (mainly schema.md) in https://github.com/tensorchord/pgvecto.rs-docs?

sure

Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
usamoi added 2 commits March 4, 2024 14:41
Signed-off-by: usamoi <usamoi@outlook.com>
@usamoi usamoi added this pull request to the merge queue Mar 4, 2024
Merged via the queue into tensorchord:main with commit 3a56a8c Mar 4, 2024
8 checks passed
@my-vegetable-has-exploded
Copy link
Contributor Author

Thanks all!

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.

feat: 8bit index
3 participants