United StatesEdge0-AI/Edge0
Device-native foundation models: 145B on a laptop, 35B on a phone. Latent MoE, SSD-streamed weights, a router that predicts loads a step ahead. Mac, iPhone, Android, Windows.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Ngày
#2 Repository Của Tháng
#2 Repository Của Tháng
🚀 Edge0: Stream 35B MoE Models on a Laptop
Stream 35B MoE models from SSD with only ~2.5 GB RAM.
Edge0 is an open-source streaming MoE inference framework developed by Edge0-AI. It generalizes a production-proven recipe — SSD expert offload, Recover-LoRA, and prerouter routing prediction — into an extensible framework. The current backend runs on Apple Silicon via MLX, with a CUDA backend on the roadmap.
✨ Highlights
- SSD expert offload: expert weights are streamed from storage on demand, bounding peak memory by the active set.
- Prerouter routing prediction: a trained head predicts expert routing one step ahead, overlapping loads with the forward pass and boosting decode throughput up to 59%.
- Recover-LoRA: the int4 base is frozen and LoRA adapters are trained by distillation from the FP teacher, recovering most quantization loss at 4-bit.
- Backend isolation: all MLX code lives under
edge0/backends/mlx/; a new backend implements the same facade with zero core changes. - Model + adapters in one directory: each tier bundles the base checkpoint, LoRA adapters, and prerouter heads, so
edge0 serve <tier>runs out of the box. - Transformers-style usage:
AutoModel/AutoConfig/AutoEngineresolve the tier from the model name.
💡 Why it matters
Edge0 challenges the usual approach of loading all experts into RAM, making it possible to run 35B-parameter MoE models on consumer hardware. The prerouter eliminates stalls, delivering throughput gains that increase with storage latency. Recover-LoRA preserves quality despite 4-bit quantization, so you get near-FP16 performance without the memory overhead. It fits best for deploying large MoE models on laptops, edge devices, or any environment with limited RAM.
#MoE #StreamingInference #EdgeAI #AppleSilicon #TiniX
Similar Projects
Discover other similar projects and AI models.
Sub-50mb agentic, voice and vision intelligence for consumer devices.
LiteRT-LM is Google's production-ready, high-performance, open-source inference framework for deploying Large Language Models on edge devices.
Run MoE models bigger than your RAM. Frontier-size MoE on a phone, laptop, edge. Lossless, on stock llama.cpp. An adaptive streaming optimizer. Any hardware, any OS, any model, any quantization, behind a local OpenAI-compatible server.
Production-grade C++ edge AI engine for video analytics and on-device VLM across Sophon, Rockchip RKNN, and x86, with visual orchestration, real-time OSD, events, and reproducible benchmarks.
On-device AI for Flutter — Gemma and other LLMs, multimodal, function calling, embeddings, RAG and speech on Android, iOS, Web, macOS, Windows and Linux.
LiteRT and LiteRT-LM sample apps, model recipes, agent skills and utilities.
Free domain registration and practical DNS learning resources for everyone.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...