Contents

hnswlib 0.8.0

0

hnswlib

hnswlib

Stars: 4323, Watchers: 4323, Forks: 637, Open Issues: 233

The nmslib/hnswlib repo was created 7 years ago and the last code push was 2 months ago.
The project is very popular with an impressive 4323 github stars!

How to Install hnswlib

You can install hnswlib using pip

pip install hnswlib

or add it to a project with poetry

poetry add hnswlib

Package Details

Author
Yury Malkov and others
License
Homepage
https://github.com/yurymalkov/hnsw
PyPi:
https://pypi.org/project/hnswlib/
GitHub Repo:
https://github.com/yurymalkov/hnsw
No  hnswlib  pypi packages just yet.

Errors

A list of common hnswlib errors.

Code Examples

Here are some hnswlib code examples and snippets.

GitHub Issues

The hnswlib package has 233 open issues on GitHub

  • Throw exception instead of segfaulting when passing a scalar to get_items.
  • IP space roundup bug fix
  • numThreads in ParallelFor
  • support for macOS armv8.5-a (MBP M1 Pro/Max)
  • AVX runtime check
  • hsslib build issue, cc1plus: error: bad value (‘tigerlake’) for ‘-march=’ switch
  • Error: Microsoft Visual C++ 14.0 or greater is required – but I have this version already
  • RuntimeError: Not enough memory
  • Cosine normalized vectors and recall benchmarking

See more issues on GitHub