pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #461: Increase max vectors dimension limit for index
Date: Fri, 05 Apr 2024 04:33:45 +0000
Message-ID: <gh-pgvector-pgvector-461-c2038905072@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-461@github.com>
References: <gh-pgvector-pgvector-461@github.com>

I think the `halfvec` (4K dims), `intvec` (8K dims), and the `bit` vector (64K dims) provide a lot of options for supporting vectors with larger dimensions. The largest embedding models I've seen that are used in databases have been 4K dims, so I'd like to see more use-cases for supporting indexing vectors with 4-byte float dimensions where we really need to store more info than a 2-byte float et al.

For what it's worth, I do think we should work to support indexing larger vectors, but current evidence shows that we can get equivalent recall between fp32 / fp16 indexes, which allows us to spend more time figuring out how to better support the case where the data goes beyond the 8KB limit.

view thread (61+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-461-c2038905072@github.com>
Permalink:  ../gh-pgvector-pgvector-461-c2038905072@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox