#111111th of 433 in ML frameworks and libraries

fastembed

Python library that generates text and image embeddings with ONNX Runtime

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
3.3k
License
Apache-2.0
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 30 weeks+418
2 May 2026: 2,897 stars9 May 2026: 2,915 stars16 May 2026: 2,933 stars23 May 2026: 2,950 stars30 May 2026: 2,974 stars6 Jun 2026: 2,998 stars13 Jun 2026: 3,009 stars20 Jun 2026: 3,021 stars27 Jun 2026: 3,035 stars4 Jul 2026: 3,048 stars11 Jul 2026: 3,062 stars18 Jul 2026: 3,070 stars25 Jul 2026: 3,085 stars1 Aug 2026: 3,098 stars8 Aug 2026: 3,116 stars15 Aug 2026: 3,128 stars22 Aug 2026: 3,145 stars29 Aug 2026: 3,161 stars5 Sept 2026: 3,173 stars12 Sept 2026: 3,188 stars19 Sept 2026: 3,199 stars26 Sept 2026: 3,211 stars3 Oct 2026: 3,225 stars10 Oct 2026: 3,233 stars17 Oct 2026: 3,242 stars24 Oct 2026: 3,258 stars31 Oct 2026: 3,271 stars7 Nov 2026: 3,282 stars14 Nov 2026: 3,292 stars21 Nov 2026: 3,307 stars28 Nov 2026: 3,315 stars

2,897 on 2 May 20263,315 on 28 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

FastEmbed is a Python library that produces dense, sparse (SPLADE++), late-interaction (ColBERT, ColPali) and image embeddings, plus cross-encoder reranking, using ONNX Runtime instead of PyTorch. It runs on CPU by default, with a separate fastembed-gpu package for CUDA. It is maintained by Qdrant and integrates with qdrant-client, but also works standalone.

Who it is for: Python developers generating embeddings for search or RAG without PyTorch

Strengths

  • No PyTorch dependency; ONNX Runtime keeps installs small and suits serverless runtimes like AWS Lambda
  • Covers dense, sparse, ColBERT, ColPali, image embeddings and cross-encoder rerankers in one API
  • add_custom_model registers unlisted Hugging Face ONNX models for embeddings and reranking
  • Default model BAAI/bge-small-en-v1.5 outputs 384-dim vectors; data parallelism for large datasets

Weaknesses

  • Only models with ONNX exports are supported; custom models need pooling and file settings
  • GPU use needs the separate fastembed-gpu package and a matching CUDA setup
  • Library only: no HTTP server or CLI for serving embeddings
  • Accuracy claim versus OpenAI Ada-002 is stated without benchmark numbers in the README

What it needs

  • GPU optional
  • Needs ONNX Runtime, Hugging Face model downloads, Qdrant (optional)
  • Models: ONNX, BAAI/bge-small-en-v1.5, SPLADE++, ColBERT, ColPali

What changed

  1. “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 sti…”

  2. v0.8.1 ↗ (opens in a new tab)BreakingSecurity fix

    “BAAI/bge-small-en-v1.5 (the default model) and BAAI/bge-base-en-v1.5 now resolve to Qdrant/bge-small-en-v1.5-onnx-Q and Qdrant/bge-base-en-v1.5-onnx-Q. The cache dir name follows the repo ID's casing…”

    “#647 - fix a path traversal vulnerability in model archive extraction that could write files outside the cache dir by @he-yufeng @joein”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#109onednnOptimized CPU and GPU deep learning primitives library used inside PyTorch and TensorFlow4.1k starsApache-2.071 out of 100
#110mtebPython toolkit for benchmarking embedding models on retrieval and other tasks Live demo ↗ (opens in a new tab)3.5k starsApache-2.071 out of 100
#112aimetQuantization and compression toolkit for PyTorch and ONNX models2.8k starscustom license71 out of 100
#113category_encodersscikit-learn transformers that encode categorical columns as numeric features2.5k starsBSD-3-Clause71 out of 100
#114qlibPython platform for ML-based quantitative investment research and backtesting Live demo ↗ (opens in a new tab)50.7k stars+955 (+1.9%) in 30 daysMIT70 out of 100