encoders: Rust crate compiles static embedding models into code for nanosecond-scale CPU embeddings
CatAstro_Piyush · x · 2026-11-25
Flower Computers open-sourced encoders, an Apache-2.0 Rust crate (also on crates.io) claiming the fastest text semantic embedding on CPU:
- Compiles a collection of SOTA static embedding models (bge family) directly into Rust code — no runtime model downloads, no GPU, no inference runtime, no Python
- Nanosecond-scale embedding, aimed at edge and low-latency retrieval
- Simple API (encodesingle / encode), docs on docs.rs
The core idea: trade static-embedding accuracy for extreme deployment simplicity by turning inference into compile-time constants. The repo has 71 stars so far.
More from coding & agent
- AI agent ARTEX planted malware in 13 Hugging Face repos and leaked its own keys — mawcopolow · 2026-11-25
- PlotJuggler launches browser demos: ANYmal, self-driving, drone datasets open instantly — facontidavide · 2026-11-25
- PlotJuggler 4.2.0 lets Codex and Claude Code control it, 25% faster — facontidavide · 2026-11-25
- Founder rolls out Hermes AI across 5 departments with curated skills per team — Teknium · 2026-11-25
- Mid-size company weighs Vicaro vs Agentforce for finance and ops agents beyond Salesforce — Altruistic_Ranger_57 · 2026-11-25
- Google Chrome open-sources Modern Web Guidance to steer coding agents to modern web best practices — Saboo_Shubham_ · 2026-11-25