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

VoyageAI: Adding new models, quantization and multiple output dimensions #59

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

fzowl
Copy link
Contributor

@fzowl fzowl commented Jan 12, 2025

VoyageAI: Adding new models, quantization and multiple output dimensions (for the models supporting it)

@codingjaguar codingjaguar requested a review from wxywb January 12, 2025 00:58
Copy link
Collaborator

@codingjaguar codingjaguar left a comment

Choose a reason for hiding this comment

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

Thanks for making the update!

milvus_model/dense/voyageai.py Outdated Show resolved Hide resolved
)

if embedding_type == "int8" or embedding_type == "uint8":
raise ValueError("Currently int8 or uint8 is not supported with PyMilvus model library.")
Copy link
Collaborator

Choose a reason for hiding this comment

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

curious, is this not supported because of python, or the implementation of PyMilvus model library particularly?

Copy link
Contributor Author

@fzowl fzowl Jan 13, 2025

Choose a reason for hiding this comment

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

@codingjaguar I copied this check from Cohere's implementation (

raise ValueError("Currently int8 or uint8 is not supported with PyMilvus model library.")
). I'd be more than happy to remove this check, but i did not check myself if int8 or uint8 is supported by PyMilvus.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it. It's Milvus doesn't support int8 or uint8 type of vectors (it support binary, float, float16 etc). Please keep it. Thanks!

@fzowl fzowl requested a review from codingjaguar January 13, 2025 16:49
@codingjaguar codingjaguar merged commit 68a1b88 into milvus-io:main Jan 14, 2025
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