Skip to main content

PatANN is a massively parallel, distributed, and scalable in-memory/on-disk vector database library for efficient nearest neighbor search across large-scale datasets by finding vector patterns.

Project description

PatANN - Pattern-Aware Vector Database / ANN

Overview

PatANN is a massively parallel, distributed, and scalable in-memory/on-disk vector database library for efficient nearest neighbor search across large-scale datasets by finding vector patterns.

PatANN leverages patterns for data partitioning similar to Google ScANN, implements disk-based I/O similar to DiskANN, and employs search techniques like HNSWlib, resulting in an algorithm that combines the best features to outperform existing approaches.

Status

Beta Version: Currently uploaded for benchmarking purposes. Complete documentation and updates are under development. Not for production use yet.

Platforms

  • Beta Version: Restricted to Linux to prevent premature circulation of beta versions
  • Production Releases (late Feb 2024)*: Will support all platforms that are supported by mesibo

Key Features

  • Faster Index building and Searching
  • Supports both in-memory and on-disk operations
  • Dynamic sharding to partition and load balance across servers
  • Refined search, filtering and pagination
  • Unlimited scalability without pre-specified capacity

Algorithmic Approach

  • Combines modified NSW (Navigable Small World) graph with a novel pattern based partitioning algorithm
  • Preliminary results show phenomenal performance in building index and searching
  • Potential slight variations in lower-end matching
  • Detailed research paper forthcoming

Contributions

We are seeking help to:

  • Run additional datasets. So far, all tested datasets (including self-generated) exhibit patterns that helps algorithm. We have yet to test datasets without clear patterns or with uniform distribution.
  • Validate and improve the algorithm

Contact

For support / questions, please contact: support@mesibo.com

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 Distribution

patann-0.0.20.tar.gz (673.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patann-0.0.20-py3-none-any.whl (679.7 kB view details)

Uploaded Python 3

File details

Details for the file patann-0.0.20.tar.gz.

File metadata

  • Download URL: patann-0.0.20.tar.gz
  • Upload date:
  • Size: 673.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for patann-0.0.20.tar.gz
Algorithm Hash digest
SHA256 04c5b4baf8e92281f800306f13b66f022362e56b3876a16a2c5cc3194f0b8aa4
MD5 6a8326c025cd3ddb9680be24c1f80b3d
BLAKE2b-256 420394332f0745fa40d87cfe3d476ff5da24a787f2cda214885cd0407d4fd4e2

See more details on using hashes here.

File details

Details for the file patann-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: patann-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 679.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for patann-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 e22e228e54eb79ddedb16ae73d66bdf570c394be6a2811a652e58cfd069b92c4
MD5 2d73d38a4f6a11f9d8a0f16a9aba85aa
BLAKE2b-256 37af2cef8bc4eda24f7fd7d65b1e2f3207c93ac3c80006fb6622999425a1ed39

See more details on using hashes here.

Supported by

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