Skip to content

Commit cae47e3

Browse files
Ubuntuclaude
andcommitted
feat: add SQ4U scalar quantization type for Milvus HNSW index
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b39689b commit cae47e3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

vectordb_bench/backend/clients/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class IndexType(StrEnum):
4949

5050

5151
class SQType(StrEnum):
52+
SQ4U = "SQ4U"
5253
SQ6 = "SQ6"
5354
SQ8 = "SQ8"
5455
BF16 = "BF16"

vectordb_bench/backend/clients/milvus/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ class MilvusHNSWSQTypedDict(CommonTypedDict, MilvusTypedDict, MilvusHNSWTypedDic
242242
str | None,
243243
click.option(
244244
"--sq-type",
245-
type=click.Choice(["SQ6", "SQ8", "BF16", "FP16", "FP32"], case_sensitive=False),
246-
help="Scalar quantizer type. Supported values: SQ6,SQ8,BF16,FP16,FP32",
245+
type=click.Choice(["SQ4U", "SQ6", "SQ8", "BF16", "FP16", "FP32"], case_sensitive=False),
246+
help="Scalar quantizer type. Supported values: SQ4U,SQ6,SQ8,BF16,FP16,FP32",
247247
required=True,
248248
),
249249
]

0 commit comments

Comments
 (0)