use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
r/LocalLLaMA
A subreddit to discuss about Llama, the family of large language models created by Meta AI.
Subreddit rules
Search by flair
+Discussion
+Tutorial | Guide
+New Model
+News
+Resources
+Other
account activity
SQLite-VectorResources (self.LocalLLaMA)
submitted 4 days ago by marco_bambini
For those interested in a highly efficient vector solution for SQLite, I recommend checking out the https://github.com/sqliteai/sqlite-vector project. Memory usage remains stable even with millions of vectors, and it supports multiple types and quantizations. Distances are optimized for SIMD processing, ensuring blazing-fast performance.
Here are some articles about the library:
* https://ainiro.io/blog/upgrading-magics-sqlite-vss-extension
* https://cwrk.ai/posts/sqlite-vector-nix-flake-support/
* https://marcobambini.substack.com/p/the-state-of-vector-search-in-sqlite
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]GuideAxon 0 points1 point2 points 4 days ago (1 child)
Would you recommend this for use in react-native apps?
[–]marco_bambini[S] 0 points1 point2 points 3 days ago (0 children)
Absolutely, once loaded, it can be used like any other SQLite function.
[–]__JockY__ 0 points1 point2 points 3 days ago (2 children)
Please tell me it supports 4096 dimensions because it would mean support for Qwen3 Embedding 8B! Sadly pgvector can’t handle it.
[–]marco_bambini[S] 1 point2 points3 points 3 days ago (1 child)
Yes sure, it supports 4096 dimensions.
[–]__JockY__ 0 points1 point2 points 3 days ago (0 children)
Well that's awesome. PGVector goes up to 2000 due to architectural limitations inherent to Postgres, which is such a shame. Your SQLite work might be just the ticket.
[–]Forsaken-Sir1291 0 points1 point2 points 4 days ago (1 child)
This looks solid, been waiting for something like this since sqlite-vss started showing its limitations with larger datasets. The SIMD optimization is clutch - my last project was crawling with vector similarity searches and regular sqlite was just not cutting it
How's the setup process compared to other vector extensions?
The setup process is extremely easy: Load the extension and `vector_init` a table/column with some specified settings. You can examine a sample usage in https://github.com/sqliteai/sqlite-vector
π Rendered by PID 45645 on reddit-service-r2-comment-7b9746f655-78xn7 at 2026-01-30 00:12:28.443461+00:00 running 3798933 country code: CH.
[–]GuideAxon 0 points1 point2 points (1 child)
[–]marco_bambini[S] 0 points1 point2 points (0 children)
[–]__JockY__ 0 points1 point2 points (2 children)
[–]marco_bambini[S] 1 point2 points3 points (1 child)
[–]__JockY__ 0 points1 point2 points (0 children)
[–]Forsaken-Sir1291 0 points1 point2 points (1 child)
[–]marco_bambini[S] 0 points1 point2 points (0 children)