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: store a separate tensor blob for IVF centroids #1446

Merged
merged 8 commits into from
Oct 20, 2023
Merged

Conversation

eddyxu
Copy link
Contributor

@eddyxu eddyxu commented Oct 20, 2023

  • Allow separate I/Os in the future, i.e., centroids can store externally from the IVF protobuf.
  • Support multiple vector data types (bf16, f16, f32)
  • Can support compression in the future.

FLOAT16 = 1;
FLOAT32 = 2;
FLOAT64 = 3;
UINT8 = 4;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good enough for IVF centroids, PQ or BQ value / codebooks

Copy link
Contributor

@wjones127 wjones127 left a comment

Choose a reason for hiding this comment

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

Looks reasonable :)

@eddyxu eddyxu merged commit c2ad65f into main Oct 20, 2023
15 checks passed
@eddyxu eddyxu deleted the lei/idx_tensor branch October 20, 2023 23:09
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.

2 participants