Skip to content

Commit 2cce2e5

Browse files
authored
Merge pull request facebookresearch#1006 from milvus-io/1.6.0
Fix GPUSQ copyto bug
2 parents 8bc0926 + 45639f6 commit 2cce2e5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gpu/GpuIndexIVFScalarQuantizer.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ GpuIndexIVFScalarQuantizer::copyTo(
139139

140140
GpuIndexIVF::copyTo(index);
141141
index->sq = sq;
142+
index->code_size = sq.code_size;
142143
index->by_residual = by_residual;
143144

144145
InvertedLists* ivf = new ArrayInvertedLists(nlist, index->code_size);

0 commit comments

Comments
 (0)