Ninety Six Bytes Each
You have 40 million 768-dimension float32 embeddings and 16 GB of RAM on the search node. You apply product quantization: split each vector into contiguous subvectors of 8 dimensions, and replace each subvector with the index of its nearest centroid in a per-subspace codebook of 256 centroids.
What is the per-vector code size, what does the whole set occupy, and what must you add to keep answer quality?
Sign in to answer questions and track your progress
Sign In