BBAnn
Block-based Approximate Nearest Neighbor
Install / Use
/learn @zilliztech/BBAnnREADME
Block-based Approximate Nearest Neighbor (BBAnn)
BBAnn is an algorithm optimized for SSD storage. It organizes data so that they are aligned with SSD block size.
The source code is mainly located in include and src folders.
By running scripts under python directory, it will create docker image, install python library bound with pybind11 and then run the framework.
Prerequisites
- CMake >= 3.10
- gcc >= 6.1
- AIO
- Docker
Get Started
git clone --recurse-submodules https://github.com/zilliztech/BBAnn.git
cd BBAnn/python
# Run knn search
sudo ./run_framework.sh
# Run range search
sudo ./run_range_search.sh
To run a dataset other than random-xs and random-range-xs, you first need to prepare the dataset
cd BBAnn/benchmark
sudo python3 create_dataset.py --dataset [dataset_name]
cd ../python
# Change dataset name
vi run_framework.sh
sudo ./run_framework.sh
The parameters for datasets are located in python/bbann-algo.yaml.
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
