DiskANN Python extension module
Project description
diskannpy
Installation
Packages published to PyPI will always be built using the latest numpy major.minor release (at this time, 1.25).
Conda distributions for versions 1.19-1.25 will be completed as a future effort. In the meantime, feel free to clone this repository and build it yourself.
Local Build Instructions
Please see the Project README for system dependencies and requirements.
After ensuring you've followed the directions to build the project library and executables, you will be ready to also
build diskannpy
with these additional instructions.
Changing Numpy Version
In the root folder of DiskANN, there is a file pyproject.toml
. You will need to edit the version of numpy in both the
[build-system.requires]
section, as well as the [project.dependencies]
section. The version numbers must match.
Linux
python3.11 -m venv venv # versions from python3.9 and up should work
source venv/bin/activate
pip install build
python -m build
Windows
py -3.11 -m venv venv # versions from python3.9 and up should work
venv\Scripts\Activate.ps1
pip install build
python -m build
The built wheel will be placed in the dist
directory in your DiskANN root. Install it using pip install dist/<wheel name>.whl
Citations
Please cite this software in your work as:
@misc{diskann-github,
author = {Simhadri, Harsha Vardhan and Krishnaswamy, Ravishankar and Srinivasa, Gopal and Subramanya, Suhas Jayaram and Antonijevic, Andrija and Pryce, Dax and Kaczynski, David and Williams, Shane and Gollapudi, Siddarth and Sivashankar, Varun and Karia, Neel and Singh, Aditi and Jaiswal, Shikhar and Mahapatro, Neelam and Adams, Philip and Tower, Bryan and Patel, Yash}},
title = {{DiskANN: Graph-structured Indices for Scalable, Fast, Fresh and Filtered Approximate Nearest Neighbor Search}},
url = {https://github.com/Microsoft/DiskANN},
version = {0.6.1},
year = {2023}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file diskannpy-0.7.0rc2-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: diskannpy-0.7.0rc2-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 4.6 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b4367517472f60dd1c5e882763b97d326d48b33d18583c8d3b5dc04a927ba8 |
|
MD5 | cb7c7c1d9d533521a2e382aa457d3254 |
|
BLAKE2b-256 | ebb165743a9e3ef7cc92462f39a6ad820ec4df3cdf8e64749bb82244b9ea796f |
File details
Details for the file diskannpy-0.7.0rc2-cp311-cp311-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: diskannpy-0.7.0rc2-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 91.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9798f5d3bd6d46d4f89c6f371b5029ede95d0c5462b810c4c190b45331c87895 |
|
MD5 | 329aa4856cc92dbebad63d887562ac64 |
|
BLAKE2b-256 | d53753fdd9d6e81e59810f8c6cd0e630280642fd3acbe0408384565fb0222acb |
File details
Details for the file diskannpy-0.7.0rc2-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: diskannpy-0.7.0rc2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 4.6 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 878c82a73ecb0052ed4ec337792850eb43899fc482f1ced58db5c003e04d38fc |
|
MD5 | 0f76f3815ed5b7e6341f72633ae33ec8 |
|
BLAKE2b-256 | 0a9afe6019c5256caa2e250eae0f8ccfde599819b635df8de5e2b7ca82e075b6 |
File details
Details for the file diskannpy-0.7.0rc2-cp310-cp310-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: diskannpy-0.7.0rc2-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 91.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f62fcaaf592171d728b64a0e5b86c893446ad43e1301117f6fdf9d35a4dc4dc6 |
|
MD5 | 5c5b60cf42a4aa0242c72b12a1af5412 |
|
BLAKE2b-256 | 216de433ecd8077274795ae437dd7d51c237462ba9c03cbfd8f128d661f4c0e5 |
File details
Details for the file diskannpy-0.7.0rc2-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: diskannpy-0.7.0rc2-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 4.6 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a602ad8ee26661486040d11c84b33300e1c9e950b207f23febe4e45d7cbb803d |
|
MD5 | 1e3b6978e3da9c71cf24eb4291f891e7 |
|
BLAKE2b-256 | e78142abff2d917806ea8d64d33a31d7bf660afa94d5d2d4fa5bd618ab042162 |
File details
Details for the file diskannpy-0.7.0rc2-cp39-cp39-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: diskannpy-0.7.0rc2-cp39-cp39-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 91.4 MB
- Tags: CPython 3.9, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f1d3c25d7de0329ac3b07b057f8f3d516fbb5ab8b9f49068c1d04f32e523c54 |
|
MD5 | db97bc4980c32d81e0d4c15260a6321c |
|
BLAKE2b-256 | ccd814ac7eb986edcd98638426651f6187295295c6155992bc75d4dee624061a |