rom1504 / clip-retrieval

Easily compute clip embeddings and build a clip retrieval system with them
https://rom1504.github.io/clip-retrieval/
MIT License
2.42k stars 213 forks source link

Make the backend scale in K again #160

Open rom1504 opened 2 years ago

rom1504 commented 2 years ago
rom1504 commented 1 year ago

implementation of batching.

choices:

  1. let the user provide batches
  2. have a batch function, eg every item is sent independently and received independently by the user, but internally a combination of timeout; batch sizes and thread implement batching

implementation of batching itself:

how to test thing:

metrics to check: