Open-source embedflow migrates embedding models with zero downtime, skipping costly re-embedding
Potential_Low_1183 · reddit · 2026-09-08
A researcher released embedflow, tackling the huge cost of upgrading embedding models in RAG pipelines: re-embedding 1 billion docs with Qwen Embed 8B on an H100 takes about 108 days.
The method is simple: instead of rebuilding the index, take K documents from the old index and rerank them with the new model. With sufficient K, retrieval quality matches the target model's native index. The author ran 63 migrations (up to 1M docs); the best result was upgrading Qwen 4B to 8B with just 50 documents matching native retrieval, entirely avoiding expensive backfill.
It works with Qdrant and is installable via pip install embedflow; code is on GitHub.
Related event: Open-Source embedflow Enables Zero-Downtime Embedding Model Migration(3 posts)→
More from coding & agent
- Switch: open-source framework to connect Claude Code, Codex and custom agents to Slack and Teams — Al_Grigor · 2026-09-08
- GitHub Copilot Day set for Sept 10 with HydraFusion research preview demo — unixterminal · 2026-09-08
- Four ways to turn ChatGPT web into a coding agent via MCP, bypassing Codex usage caps — alexcovo_eth · 2026-09-08
- banteg: dismissing AI decompilation to keep humans grinding is 'performative, wasteful and cruel' — banteg · 2026-09-08
- One prompt: Claude Code assembles its own video pipeline with Z-Image, Minimax H3 and Music — dkackman11 · 2026-09-08
- Building a tool to turn existing API collections into MCP servers — how thick should the tool layer be? — agentrsdg · 2026-09-08