If your data aren't too large, you can use faiss-cpu and pickle
https://pypi.org/project/faiss-cpu/
For the uneducated, how large is too large? Curious.
Shoud it be:
If the total size of your data isn't loo large...?
Data being a plural gets me.
You might have small datums but a lot of kilobytes!
For the uneducated, how large is too large? Curious.