by brylie on 8/2/24, 10:41 AM with 43 comments
by alexgarcia-xyz on 8/2/24, 4:55 PM
sqlite-vec works on MacOS, Linux, Windows, Raspberry Pis, in the browser with WASM, and (theoretically) on mobile devices. I focused a lot on making it as portable as possible. It's also pretty fast - benchmarks are hard to do accurately, but I'd comfortable saying that it's a very very fast brute-force vector search solution.
One experimental feature I'm working on: You can directly query vectors that are in-memory as a contiguous block of memory (ie NumPy), without any copying or cloning. You can see the benchmarks for that feature here under "sqlite-vec static", and it's competitive with faiss/usearch/duckdb https://alexgarcia.xyz/blog/2024/sqlite-vec-stable-release/i...
by simonw on 8/2/24, 3:45 PM
by Cieric on 8/2/24, 4:57 PM
by cotega on 8/13/24, 8:34 PM
by pjot on 8/2/24, 4:10 PM
by bodantogat on 8/2/24, 3:41 PM
by 1yefuwang1 on 8/5/24, 3:17 AM
I'd like to do a benchmark to compare it with sqlite-vec, but I guess it is not a fair comparison given that sqlite-vec uses brute-force only.
One thing I'd recommend is to include recall rate in your benchmark data.
Brute force approach is a good starting point but doesn't scale with serious production workload.
by dang on 8/2/24, 7:33 PM
I’m writing a new vector search SQLite Extension - https://news.ycombinator.com/item?id=40243168 - May 2024 (85 comments)
by deepsquirrelnet on 8/2/24, 11:06 PM
by huevosabio on 8/3/24, 6:31 AM
I've been looking for something like this for a while.
by nattaylor on 8/2/24, 11:11 PM
My pyenv python3.12.2's sqlite won't load extensions even after installing with what I think are the correct command line flags. Argh!
My brew installed python3.12's sqlite will load extensions though, so I can proceed.
by mic47 on 8/2/24, 3:31 PM
by pietz on 8/2/24, 4:19 PM
by haolez on 8/2/24, 6:22 PM
by fsndz on 8/2/24, 11:18 PM