puck icon indicating copy to clipboard operation
puck copied to clipboard

Puck is a high-performance ANN search engine

Results 6 puck issues
Sort by recently updated
recently updated
newest added

I found that there is a normlization operation before searching in tinker. ```cpp const float* feature = normalization(context.get(), request->feature); ``` What is the purpose of this operation? And when I...

在成功构建docker之后,运行deep-100M的benchmark出现stat error: ``` E0218 09:37:10.278347 1 hierarchical_cluster_index.cpp:641] model file data/deep- 100M.C3000_F3000_FN16_Flat.puckindex/index.dat stat error ``` 并且后面出现了file not found的错误: ``` E0218 09:37:10.278366 1 py_api_wrapper.cpp:97] load index Faild Traceback (most recent call last):...

https://github.com/baidu/puck/blob/dbaf06f6c5995e5366268b0a25bd921e8cacd889/puck/puck/puck_index.h#L70

Minor grammatical and spelling corrections.

# bug表现 在测试puck过程中发现一个偶发性bug,表现如下面两张图 ![image](https://github.com/user-attachments/assets/ffd62267-bd6e-4fde-b9a9-905c05cebdb4) gdb调试发现是puck::PuckIndex::train: 795的`std::unique_ptr kmeans_train_vocab(new float[train_vocab_len]);`在释放时报的错: ```shell (gdb) until free(): invalid next size (normal) [Thread 0x7fff21ffb700 (LWP 965310) exited] Thread 1 "test_puck" received signal SIGABRT, Aborted. [Switching to...