asg017 / sqlite-vss

A SQLite extension for efficient vector search, based on Faiss!
MIT License
1.59k stars 59 forks source link

Support GPU indicies #3

Open asg017 opened 1 year ago

asg017 commented 1 year ago

Would need to distribute two version of sqlite-vss: A normal one with CPU support only, and another one with -DFAISS_ENABLE_GPU=ON.

Also might need to add an option to vss0 column declarations to enable GPU:

create virtual table photos using vss0(
  thumbnail_embedding(1024) factory="..." gpu=True,
);