Passage version 1.2
-
[FIX] OOM when using the method embed_images
with a large number of images => using batching now -
[FIX] Correction d'un bug lié à l'absence d'argument device
passé dans l'instanciation d'une classeEmbedder
dans la méthodeload_embeddings
-
[IMPROVEMENT] Remove dependencies to sentence_transformers
andclip
libraries to rely solely ontransformers
lib => renamingCLIPEmbedder
->CLIPB32Embedder
and removal ofCLIPHFEmbedder
-
[IMPROVEMENT] Improved typing and added decorators @abstracmethod
when needed + declaredEmbedder
class as an abstract class -
[IMPROVEMENT] Using logging (structlog) instead of prints -
[REFACTORING] Created a parent class CLIPEmbedder(Embedder)
from whichCLIPL14Embedding
andCLIPB32Embedding
inherit to reduce duplicated code
Edited by Victor Amblard