hnswlib icon indicating copy to clipboard operation
hnswlib copied to clipboard

Header-only C++/python library for fast approximate nearest neighbors

Results 207 hnswlib issues
Sort by recently updated
recently updated
newest added

The code works locally and on an EC2 instance. But while running it as a batch job, I keep getting this error: Illegal instruction (core dumped) python3 ./jarvis_e.py $ENV because...

Getting this error with the following code: ``` vectordb = Chroma.from_documents(results, embeddings) relevant_docs = vectordb.similarity_search(query=item.question, k=min(len(vectordb.get()["ids"]), num_search_results)) ``` Any ideas how to fix?

The prefetching goes past `size` since `datal` is initialized 1 index past `data`. I uncovered this issue on ASAN when SSE is enabled. Also spotted earlier here: https://github.com/nmslib/hnswlib/issues/107 cc @dyashuni

The hnswlib wheel build failed on my MacOS (x86_64 architecture) when I run ```pip install hnswlib```. ``` clang: error: the clang compiler does not support '-march=native' error: command '/usr/bin/gcc' failed...

Normalization should be done on the C++ side (if any, my vectors come out from my models already normalised). If not every time the C++ code is used by another...

Hello,everyone. I want to use hnswlib to make windows form application. Can I find hnswlib written by managed language like C/CLI somewhere?

It has saveIndex but loadIndex is missing (among others) In general I find the interface a bit limited in design not being able to properly use the iface. I.E. ```cpp...

I would want to this hnsw library in C/CLI project. I would find easy way. Best Regards.

I have the impression that the library is storing data in fp32, at least doing the math. Im working with fp16 models mostly. Its that possible?

Is it possible to insert an index with metadata for each entry? Thanks.