mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
Add approximate nearest neighbor infrastructure to vec0: shared distance dispatch (vec0_distance_full), flat index type with parser, NEON-optimized cosine/Hamming for float32/int8, amalgamation script, and benchmark suite (benchmarks-ann/) with ground-truth generation and profiling tools. Remove unused vec_npy_each/vec_static_blobs code, fix missing stdint.h include.
24 lines
494 B
Makefile
24 lines
494 B
Makefile
BASE_URL = https://assets.zilliz.com/benchmark/cohere_medium_1m
|
|
|
|
PARQUETS = train.parquet test.parquet neighbors.parquet
|
|
|
|
.PHONY: all download base.db clean
|
|
|
|
all: base.db
|
|
|
|
download: $(PARQUETS)
|
|
|
|
train.parquet:
|
|
curl -L -o $@ $(BASE_URL)/train.parquet
|
|
|
|
test.parquet:
|
|
curl -L -o $@ $(BASE_URL)/test.parquet
|
|
|
|
neighbors.parquet:
|
|
curl -L -o $@ $(BASE_URL)/neighbors.parquet
|
|
|
|
base.db: $(PARQUETS) build_base_db.py
|
|
uv run --with pandas --with pyarrow python build_base_db.py
|
|
|
|
clean:
|
|
rm -f base.db
|