Skip to content

Commit 8d26e3d

Browse files
authored
enable iterator for hnsw int8 (zilliztech#1328)
Signed-off-by: xianliang.li <xianliang.li@zilliz.com>
1 parent 5adb290 commit 8d26e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index/hnsw/faiss_hnsw.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ class BaseFaissRegularIndexHNSWNode : public BaseFaissRegularIndexNode {
17731773
bool
17741774
is_ann_iterator_supported() const {
17751775
if (data_format != DataFormatEnum::fp32 && data_format != DataFormatEnum::fp16 &&
1776-
data_format != DataFormatEnum::bf16) {
1776+
data_format != DataFormatEnum::bf16 && data_format != DataFormatEnum::int8) {
17771777
return false;
17781778
}
17791779
return true;

0 commit comments

Comments
 (0)