Skip to content

Scalar Quantization in Faiss - Implementation - Question #1559

@unsuthee

Description

@unsuthee

Hi Faiss team,

I am looking at SQ8 - Scalar Quantization code and try to understand what exactly quantization that Faiss performs. https://github.com/facebookresearch/faiss/blob/master/faiss/impl/ScalarQuantizer.cpp

This code is very hard to understand for me. Do you have any paper or document that describes the implementation that you use in ScalarQuantizer.cpp? I want to see if Faiss SQ8 uses a uniform or non-uniform quantization. Also, how SQ8 in faiss determines the bin boundary at each dimension.

Thank you in advance for any future answer!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions