artificialwisdomai / origin

Artificial Wisdomâ„¢ Cloud Platform
Apache License 2.0
2 stars 4 forks source link

mouseion: Factor out the index-building workflow #136

Closed MostAwesomeDude closed 7 months ago

MostAwesomeDude commented 8 months ago

This isn't much, and that's okay. It's just an easy little shim for building indices in a GPU-agnostic fashion.

I also included L2 normalization, as recommended by FAISS docs. I've personally experienced the poor performance of non-normalized inputs, so I'm providing it by default.