Skip to content

Support pgvector's halfvec dtype #106

Description

@rsomani95

I have a table with fp16 embeddings:

\d+ table;


              Column              |           Type           |
----------------------------------+--------------------------+
embedding                         | halfvec(640)             |
...

But when I try to build the index on using CREATE INDEX ON table USING diskann (embedding);, I run into the following error:

ERROR:  data type halfvec has no default operator class for access method "diskann"
HINT:  You must specify an operator class for the index or define a default operator class for the data type.

Are fp16 vectors not yet supported?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions