hnswlib
hnswlib copied to clipboard
Header-only C++/python library for fast approximate nearest neighbors
Hello, I am trying to install hnswlib on a macOS environment using pip3, but I'm experiencing a compilation problem. Here is the command I'm using and the output I receive:...
这个问题是否只针对于我? 我无论是在自己的电脑上还是win服务器上都会经历这个错误 报错信息为: `ImportError: cannot import name 'ClickHouseQuery' from 'pypika.dialects' (C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pypika\dialects\__init__.py) Traceback: File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _run_script exec(code, module.__dict__) File "C:\Users\Administrator\Desktop\titan\main.py", line 87, in asyncio.run(main()) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190,...
I am using the node js version 18 and using hnswlib-node library ro store the vector data. Once I created on vector index the after it is posible to edit...
Hi Yury - When this index is used in production in a real use-case scenario, users would add vectors incrementally and would want to save incremental changes. Suppose the index...
Installation, trying to force build from source: ``` ➤ pip install --no-binary hnswlib hnswlib Collecting hnswlib Using cached hnswlib-0.7.0-cp310-cp310-macosx_11_0_arm64.whl Collecting numpy (from hnswlib) Using cached numpy-1.24.3-cp310-cp310-macosx_11_0_arm64.whl (13.9 MB) Installing collected...
from the docs: ``` # Initializing index - the maximum number of elements should be known beforehand p.init_index(max_elements = num_elements, ef_construction = 200, M = 16) ``` why do we...
Building wheel file for hsnwlib goes unresponsive on ubuntu. Initially i tried it as part of chroma. That didn't work, so I tried to dig deeper. Even explicit installations, both...
error: could not create 'build\temp.win-amd64-cpython-310\Release\Users\Public\Documents\iSkysoft\CreatorTemp\pip-install-20hoz5_k\cython_d2bf60c557c34449b2c2bdd94f56ea46': name of file is too long (文件名或扩展名太长)。
I use ParallelFor as https://github.com/nmslib/hnswlib/blob/7cc0ecbd43723418f43b8e73a46debbbc3940346/python_bindings/bindings.cpp#L239 ``` // c++ code, add 10000 points, addPoint cost 7580ms // compile flags: -std=c++11 -g -pipe -W -Wall -fPIC -pthread -Ofast -fwrapv int d =...
Hi, the hnswlib will crashed when init index if the parameter if too big ```python import hnswlib h = hnswlib.Index(space='l2', dim=1) h.init_index(max_elements=1, ef_construction=200, M=2305843009213693951) h.add_items([1], -1) ``` the backtrace ```...