hnswlib
hnswlib copied to clipboard
Header-only C++/python library for fast approximate nearest neighbors
Hi everyone! I have a problem loading the indices. I trained the model on a server architecture and exported the .index files. The model should be loaded on an edge...
Often it's useful to return lists instead of numpy arrays. This is especially useful when using filtering if k > num of items returned after filtering. There may also be...
It is my understanding that with `Index::Search` in the case of `HNSW` that the result is not always 100% recall, being able to continue the search, that is having pagination...
The current design of contiguous memory layout may cause memory to double during realloc when dealing with large amounts of data, and data copying during this process may affect user...
Hi Yury, I am trying to understand hnswlib code. w.r.t. this: ``` char **linkLists_{nullptr}; ``` I understand this is storing adjacency list for l > 0. Why is this a...
my env Linux mint 21 Python 3.10.11 --------------------- Running the following 2 lines of code generates error: import chromadb client = chromadb.PersistentClient(path="./tmp_dir") generates the following error AttributeError: type object 'hnswlib.Index'...
This is Chat application trying to build using langchain and OpenAI. Everything works fine on my local machine. however when i try to setup this on AWS EC2, by creating...
Right now it is `true` (https://github.com/nmslib/hnswlib/blob/master/hnswlib/hnswalg.h#L1220) and that is causing a measurable slowdown in multi-threaded search in some niche cases (e.g. dim=4). `collect_metrics` increments some counters like number of distance...
I run example_filter.py in examples,but i got a problem,in the picture.Do you know how to fix it? 