pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: zthhhhh (@zthhhhh) <noreply+zthhhhh@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #927: Support sq16 in hnsw access method with vector_cosine_ops
Date: Mon, 29 Dec 2025 12:20:50 +0000
Message-ID: <gh-pgvector-pgvector-927-c3696378784@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-927@github.com>
References: <gh-pgvector-pgvector-927@github.com>

Thank you for your response! I’ll run more detailed benchmarks to verify the performance characteristics. If the implementation in my PR doesn’t consistently outperform halfvec, it may indeed not be a worthwhile approach. Because their compression ratios are the same.

Regarding vector quantization, I’ve extended the ivfflat access method to support different quantization strategies within the handler while maintaining full backward compatibility with existing ivfflat indexes. As a proof of concept, I implemented IVF-RABITQ (with cosine distance) using an operator class on top of this extension, and it’s working successfully.

If this is of interest, I wanna to share more details, and would appreciate any guidance on how to contribute these implements to the open-source pgvector community.

Thanks again!

view thread (5+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-927-c3696378784@github.com>
Permalink:  ../gh-pgvector-pgvector-927-c3696378784@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