Skip to main content

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.

python3.11 -m venv venv # versions from python3.8 and up should work. on windows, you might need to use py -3.11 -m venv venv
source venv/bin/activate # linux
# or
venv\Scripts\Activate.{ps1, bat} # windows
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}},
   title = {{DiskANN: Graph-structured Indices for Scalable, Fast, Fresh and Filtered Approximate Nearest Neighbor Search}},
   url = {https://github.com/Microsoft/DiskANN},
   version = {0.5},
   year = {2023}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

diskannpy-0.5.0rc5-cp311-cp311-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.11 Windows x86-64

diskannpy-0.5.0rc5-cp311-cp311-manylinux_2_28_x86_64.whl (91.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

diskannpy-0.5.0rc5-cp310-cp310-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.10 Windows x86-64

diskannpy-0.5.0rc5-cp310-cp310-manylinux_2_28_x86_64.whl (91.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

diskannpy-0.5.0rc5-cp39-cp39-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.9 Windows x86-64

diskannpy-0.5.0rc5-cp39-cp39-manylinux_2_28_x86_64.whl (91.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

File details

Details for the file diskannpy-0.5.0rc5-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for diskannpy-0.5.0rc5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 aeb224d43f13c83280732ef5b6a3290dde76a9dececdb2f80b62e5f5eda8c432
MD5 1f7de43578c1e516a4e0ac41431e11fc
BLAKE2b-256 394c743c784e297eb86924780b6e2bbecf77e62692156a6a6a51b654e803b03b

See more details on using hashes here.

File details

Details for the file diskannpy-0.5.0rc5-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for diskannpy-0.5.0rc5-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bf925502ce4d702f1b2074df621fdbc363c02a5271f050da84ec14e2b613746c
MD5 610f4d875c9ce9f526c9cb3a95c7429d
BLAKE2b-256 bfb664c38fe59339becbe900f4a69898379a4cf205409cc97135ed0c501b8d41

See more details on using hashes here.

File details

Details for the file diskannpy-0.5.0rc5-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for diskannpy-0.5.0rc5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 29f418a9160728e2be65fb3e9c5d4b9ca23f43ae2ea1b8853193a75cb2861f1e
MD5 64ce0baeba6ce22e4217cbfc08352fe1
BLAKE2b-256 dc03bc84640a4e8cd6bfa2d9712f3bf4c4dca9f1620a374bde9b23b9f5e15ab4

See more details on using hashes here.

File details

Details for the file diskannpy-0.5.0rc5-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for diskannpy-0.5.0rc5-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd36d08a638069aea85bd5e0c557dd5e0512264a4f93a2f450a71450b30e1c0e
MD5 4257e01703ace579956551e1b9485024
BLAKE2b-256 4657bdb9c08e1e4f64b8b5cbd71c4c46196c9c33143038f3127db862d7175a78

See more details on using hashes here.

File details

Details for the file diskannpy-0.5.0rc5-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for diskannpy-0.5.0rc5-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 adff82f36370a0efa2f04c3b2569b872e4342abc17f280e959f92011d36c518d
MD5 3a79f0ca1ca435a9cfa4f521718d83c7
BLAKE2b-256 848ad5603980bb19bc9e3010145b2387e160cf29d64b65e37a3b9dfa53bcc71b

See more details on using hashes here.

File details

Details for the file diskannpy-0.5.0rc5-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for diskannpy-0.5.0rc5-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 187d7b4f56e6f2988930b8e049ad5fd4db5efa0deda50623b5ef52b6ade8f3f4
MD5 8130b645ce955a5b3ac3be82247889e6
BLAKE2b-256 6ca23b74e976f7b6fbf86b28c9b77ae29899a8fc14e5e829dd992cfe32d8766e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page