Skip to content

Added support for halfvec in pgvector #665

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shashwatrai
Copy link

@shashwatrai shashwatrai commented May 19, 2025

  1. using a boolean use_halfvec the precisoin of the embeddings can be reduced to 16bit allowing the index to be created for the dimension more than 2000.

Signed-off-by: Shashwat Rai shantanurai98@gmail.com

Added support for halfvec, in case the dimension of the embeddings are more than 2000
removed redundant conversions
@sre-ci-robot sre-ci-robot requested a review from cxie May 19, 2025 11:27
@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: shashwatrai
To complete the pull request process, please assign simfg after the PR has been reviewed.
You can assign the PR to them by writing /assign @simfg in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot requested a review from SimFG May 19, 2025 11:28
@sre-ci-robot
Copy link
Collaborator

Welcome @shashwatrai! It looks like this is your first PR to zilliztech/GPTCache 🎉

removed unwanted code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants