Skip to content

Bug fix for RangeSelector is_member & low SPACEV insert throughput #7

Bug fix for RangeSelector is_member & low SPACEV insert throughput

Bug fix for RangeSelector is_member & low SPACEV insert throughput #7

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
cmake \
libaio-dev \
libeigen3-dev \
libopenblas-dev
- name: Build liburing
run: |
cd third_party/liburing
./configure
make -j"$(nproc)"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install \
setuptools \
wheel \
"pybind11[global]" \
numpy \
ninja \
pytest \
qdrant-client \
fastapi \
uvicorn \
langchain-core
- name: Build PipeANN
run: CMAKE_BUILD_PARALLEL_LEVEL=1 python setup.py build_ext --inplace
- name: Run Python tests
run: pytest -q tests_py