-
Notifications
You must be signed in to change notification settings - Fork 67
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
Question about memory_optimized storage layout #122
Comments
@agandra30 this is indeed a bug. You can get around it by setting num_bits_per_dimension=1 explicitly when using storage_layout='plain'. I'll submit a PR to fix this soon. |
@cevian , thanks for the addressing the problem My observations are even after setting it to num_bits_dimension=1 there is no much of a progress , the index creation just get stucks and no progress for hours I even tried with storage_layout='memory_optimized', even it fails to create an index and hangs in there for really long time. Not sure if there is any optimisations needs to be set the DB side ? confused if this could hinder, if used for production usecases.
|
A million vectors can take a while to index. If you do Also I would replace |
Need some inputs , I encountered an issue even after i have set the. storage_layout='plain' , my understanding is that when set to plain it should not to use SBQ or to set the bit_per_dimension=2
My dataset set is cohere and dimension is 768 Dim
python 3.11
postgres 16
Name | Version | Schema | Description
-------------+---------+------------+----------------------------------------------------------------------------------------------
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
vector | 0.7.4 | public | vector data type and ivfflat and hnsw access methods
vectors | 0.3.0 | vectors | vectors: Vector database plugin for Postgres, written in Rust, specifically designed for LLM
vectorscale | 0.3.0 | public | pgvectorscale: Advanced indexing for vector data
psycopg.errors.InternalError_: SBQ with more than 1 bit per dimension is only supported with the memory_optimized storage layout.
is it required to set the bit_per_dimension and also use only storage_layout='memory_optmized'.
Thank you in advance
The text was updated successfully, but these errors were encountered: