跳转到主要内容

DiskANN Python扩展模块

项目描述

diskannpy

DiskANN Paper DiskANN Paper DiskANN Paper DiskANN Main PyPI version Downloads shield License: MIT

安装

发布到PyPI的软件包将始终使用最新的numpy主次版本(目前为1.25)构建。

版本1.19-1.25的conda发行版将在未来的工作中完成。在此期间,您可以随意克隆此存储库并自行构建。

本地构建说明

请参阅项目README以获取系统依赖项和需求。

在确保您已遵循构建项目库和可执行文件的说明后,您将可以使用以下附加说明构建diskannpy

更改Numpy版本

在DiskANN的根目录中有一个文件pyproject.toml。您需要编辑[build-system.requires]部分以及[project.dependencies]部分中的numpy版本。版本号必须匹配。

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

构建的wheel将放置在DiskANN根目录下的dist目录中。使用pip install dist/<wheel名称>.whl进行安装

引用

请在您的作品中引用此软件,如下所示

@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}
}

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

此版本没有可用的源分布文件。请参阅生成分布存档的教程。

构建分布

diskannpy-0.7.0-cp311-cp311-win_amd64.whl (4.8 MB 查看哈希值)

上传时间: CPython 3.11 Windows x86-64

diskannpy-0.7.0-cp311-cp311-manylinux_2_28_x86_64.whl (91.5 MB 查看哈希值)

上传时间: CPython 3.11 manylinux: glibc 2.28+ x86-64

diskannpy-0.7.0-cp310-cp310-win_amd64.whl (4.8 MB 查看哈希值)

上传时间: CPython 3.10 Windows x86-64

diskannpy-0.7.0-cp310-cp310-manylinux_2_28_x86_64.whl (91.5 MB 查看哈希值)

上传时间: CPython 3.10 manylinux: glibc 2.28+ x86-64

diskannpy-0.7.0-cp39-cp39-win_amd64.whl (4.8 MB 查看哈希值)

上传时间: CPython 3.9 Windows x86-64

diskannpy-0.7.0-cp39-cp39-manylinux_2_28_x86_64.whl (91.5 MB 查看哈希值)

上传时间: CPython 3.9 manylinux: glibc 2.28+ x86-64

支持者

AWSAWS云计算和安全赞助商DatadogDatadog监控FastlyFastlyCDNGoogleGoogle下载分析MicrosoftMicrosoftPSF赞助商PingdomPingdom监控SentrySentry错误日志StatusPageStatusPage状态页面