Cai Yudong

Results 31 issues of Cai Yudong

The prometheus metrics "knowhere_ann_iterator_init_latency" is defined in prometheus_client.h, but its value is updated nowhere.

All 0 vector will cause knowhere coredump, need fix. Also knowhere cannot handle float value overflow correctly.

see build warnings, need fix ![Screenshot from 2024-03-06 14-59-15](https://github.com/zilliztech/knowhere/assets/3992404/95ad6cd6-362a-41a4-92aa-d7521e83637a)

Issue: https://github.com/milvus-io/milvus/issues/35594

dco-passed
do-not-merge/missing-related-issue
approved
size/XS

Remove https://github.com/zilliztech/knowhere/blob/main/src/common/utils.cc#L50-L62, use template NormalizeVec instead

Build Milvus in Debug mode, then you can see TracdID is printed out in a different way between knowhere and Milvus. ``` [2024/07/17 17:52:34.610 +08:00] [DEBUG] [querynodev2/services.go:680] ["search segments..."] [traceID=c56dd6de3329e8baf581744b0660381b]...

stale

User reports that IVF_PQ index build time degrade 60x between Milvus 2.3.20 and Milvus 2.4.6 https://github.com/milvus-io/milvus/discussions/34999 Test knowhere separately, can reproduce this degradation: Commit Time | Commit ID | IVF_PQ...

Two optimizations in search: 1. It takes different time to load query data from .hdf5 data file or .tgz data file. Therefore, preloading the query vector into memory can eliminate...

Target: 1. code coverage > 80% 2. runtime for each case < 5s https://zilliverse.feishu.cn/wiki/S8JtwBcIyiPWYkkdhqdcJalmnM6 Task items: - [x] update test_config - [x] update test_knowhere_init - [x] update test_index_check - [x]...

When enable "run_test()" in test_simd.cc:216 ![Screenshot from 2024-09-26 11-01-42](https://github.com/user-attachments/assets/1da5009e-c0f5-418c-a225-bd1c6669ddce) this case run fail with following error: ``` I0926 10:51:50.380264 1059789 test_simd.cc:54] [KNOWHERE][CATCH2_INTERNAL_TEST_10][knowhere_tests] simd type: 0, dim: 21 I0926 10:51:50.380273 1059789...