Repository navigation
Changelog
Features 🏎️
- #640 -
token_count()loads only the tokenizer, not the ONNX model, whenlazy_load=Trueby @Mirochill @joein - #643 - add
lightonai/LateOnand the multilinguallightonai/mLateOnby @tekumara @joein - #655 - add
stemmerandstopwordsparameters toQdrant/bm25for languages without a Snowball stemmer, such as Polish by @Mohith26 @joein - #702 - add
ibm-granite/granite-embedding-small-english-r2by @Aryan-SINGH-GIT @joein - #743 - add
BAAI/bge-reranker-v2-m3and its int8 versionBAAI/bge-reranker-v2-m3-int8by @joein - #747 - speed up MUVERA document encoding for large
k_simvalues by @Pothan0 @joein - #751 - add
Qdrant/stella-en-400M-v5-doc-onnxfor documents and the small query encodersQdrant/constella-zeroandQdrant/constella-nanothat search its embeddings by @joein @Dylancouzon - #756 - add
output_nametoTextEmbedding.add_custom_model()to choose which ONNX output a custom model uses by @tuanzirwar @joein
Fixes 🔧
- #640 - fix BM42 and miniCOIL failing, and ColBERT keeping punctuation vectors, with
lazy_load=Trueandparallelby @Mirochill @joein - #642, #726, #727, #728, #729, #730, #732, #780, #787 - make model downloads more reliable: re-download corrupted cached files, retry on more network errors, time out on an unresponsive Hugging Face endpoint, and download built-in models from Hugging Face only (see Upgrade Notes) by @Dmheath1 @joein
- #670, #734 - fix a hang when a
parallelrun is stopped early, for example withbreakby @FU-max-boop @joein - #721 - raise a
ValueErrorfor abatch_sizebelow 1 by @adityaanikam @joein - #723 - fix the licenses listed for
Qdrant/colpali-v1.3-fp16(gemma) and the Unicom models (mit) by @joein - #725 - accept nearest-neighbor interpolation in Jina CLIP image preprocessing by @HuaTNA @joein
- #731 - match Jina's center crop in
jinaai/jina-clip-v1preprocessing, which was off by 1 px for some image sizes by @joein - #733 - raise a
ValueErrorwhen MUVERA encodes an empty multivector by @Pothan0 @joein - #746 - fix center crop returning undersized images when it pads by an odd number of pixels by @HuaTNA @joein
- #754 - return
float32instead offloat64embeddings from mean-pooling text models, such assentence-transformers/all-MiniLM-L6-v2(regression in 0.6.1) by @joein - #757 - fix loading models with
.onnx_dataweights from ahuggingface_hub>=1.32cache withonnxruntime>=1.24by @joein - #760, #761, #784 - fix
Qdrant/colmodernvbertimage embeddings in batches that mix aspect ratios, for portrait images, and for very thin images, and speed up its text queries (see Upgrade Notes) by @hulkbig @JesusMan0529 @joein - #768 - return
int64indices fromSparseEmbedding.from_dict({})by @RAMZI0TO99 @joein - #769 - fix a token ID overflow in
Qdrant/bm25query embeddings by @RAMZI0TO99 @joein - #770 - respect
cuda=Falseinparallelworkers, which ran on the GPU whenonnxruntime-gpuwas installed (regression in 0.8.0) by @RAMZI0TO99 @joein - #771 - respect
do_resize=Falsein ConvNeXT image preprocessing by @RAMZI0TO99 @joein - #773 - keep very small SPLADE weights by computing them with
log1pby @RAMZI0TO99 @joein - #775, #776 - honor the truncation and padding side from the model's tokenizer config by @hulkbig @joein
Upgrade Notes
- Built-in models now download from Hugging Face only, without the Google Cloud Storage (GCS) fallback some of them had. The GCS buckets stay open, so older versions keep working, and custom models still support both
urlandhfsources. GCS copies cached by older versions still load offline or when Hugging Face is unreachable, with aFutureWarning: load the model once online, then delete itsfast-<model name>dir. - We removed a stray 128-token limit from the Hugging Face configs of
sentence-transformers/all-MiniLM-L6-v2andQdrant/bm42-all-minilm-l6-v2-attentions(now 256 tokens), andthenlper/gte-largeandprithivida/Splade_PP_en_v1(now 512). This applies to any fastembed version on a fresh download, and embeddings of texts over 128 tokens change. A cached model keeps the old limit until you delete it from the cache. Qdrant/colmodernvbertnow loadsmodel_v2.onnxand drops padding rows from its embeddings, so offline setups need to download it first. Re-embed images that were embedded in batches with images of other aspect ratios. The model needsonnxruntime>=1.19.LateInteractionMultimodalEmbedding.embed_imagenow defaults tobatch_size=2instead of 16, which also applies toQdrant/colpali-v1.3-fp16.jinaai/jina-clip-v1image embeddings change for some image sizes.
Thanks to everyone who contributed to this release @adityaanikam @Aryan-SINGH-GIT @Dmheath1 @Dylancouzon @FU-max-boop @HuaTNA @hulkbig @JesusMan0529 @Mirochill @Mohith26 @Pothan0 @RAMZI0TO99 @tekumara @tuanzirwar @joein