Skip to content

Commit

Permalink
update Knowhere Version
Browse files Browse the repository at this point in the history
Signed-off-by: xianliang.li <[email protected]>
  • Loading branch information
foxspy committed Oct 31, 2024
1 parent 4bac2eb commit ccc2277
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/update-knowhere-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
id: get-knowhere-latest-commit
run: |
cd ..
rm -fr Knowhere
git clone https://github.com/zilliztech/Knowhere.git
cd Knowhere
export commit=$(git rev-parse --short HEAD)
Expand Down
2 changes: 1 addition & 1 deletion internal/core/thirdparty/knowhere/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Update KNOWHERE_VERSION for the first occurrence
milvus_add_pkg_config("knowhere")
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES "")
set( KNOWHERE_VERSION ecc27ac )
set( KNOWHERE_VERSION e67abe7 )
set( GIT_REPOSITORY "https://github.com/zilliztech/knowhere.git")
message(STATUS "Knowhere repo: ${GIT_REPOSITORY}")
message(STATUS "Knowhere version: ${KNOWHERE_VERSION}")
Expand Down
2 changes: 1 addition & 1 deletion tests/go_client/testcases/index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ func TestCreateIndexInvalidParams(t *testing.T) {

idxIvfPq := index.NewIvfPQIndex(entity.L2, 128, 7, 8)
_, err := mc.CreateIndex(ctx, client.NewCreateIndexOption(schema.CollectionName, common.DefaultFloatVecFieldName, idxIvfPq))
common.CheckErr(t, err, false, "dimension must be able to be divided by `m`")
common.CheckErr(t, err, false, "The dimension of a vector (dim) should be a multiple of the number of subquantizers")

// invalid Hnsw M [1, 2048], efConstruction [1, 2147483647]
for _, invalidM := range []int{0, 2049} {
Expand Down

0 comments on commit ccc2277

Please sign in to comment.