RepositoryC++
Helldez

Helldez/BigMoeOnEdge

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.

1.1ksao
113fork
48issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: mixture-of-experts

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: gguf

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: llama-cpp

#1 Repository Của Tuần

🚀 Chạy MoE khổng lồ trên thiết bị nhỏ bằng CPU

Chạy mô hình MoE lớn hơn nhiều so với RAM thiết bị, ví dụ gpt-oss-120b (~60 GB) trên điện thoại 12 GB, chỉ bằng CPU và llama.cpp.

BigMoeOnEdge là một dự án C++ cho phép chạy các mô hình Mixture-of-Experts (MoE) lớn hơn nhiều so với RAM của thiết bị điện thoại, hoàn toàn trên CPU thông qua API công cộng của llama.cpp. Thay vì tải toàn bộ mô hình vào bộ nhớ, dự án chỉ đọc các "chuyên gia" (experts) mà mỗi token cần đến, trực tiếp từ bộ nhớ flash.

✨ Điểm nổi bật

  • Expert streaming: đọc chỉ các experts cần thiết cho từng token từ flash.
  • Expert cache: giữ các experts thường dùng trong bộ nhớ để tối ưu tốc độ.
  • Dense weights policy: điều chỉnh cách truy cập trọng số dày đặc để tránh bị hệ điều hành thu hồi.
  • Lossless inference: kết quả nhận được giống hệt khi chạy từ RAM.
  • CPU-only: không cần GPU, NPU, chỉ cần một vài lõi CPU và bộ nhớ flash.
  • Hỗ trợ nhiều kiến trúc MoE: Qwen3, Qwen3.6, Gemma, gpt-oss và các dòng tương tự.
  • Dễ mở rộng: thêm kiến trúc MoE mới chỉ là một hàng trong registry.
  • Tích hợp với llama.cpp: sử dụng API công cộng, cập nhật llama.cpp dễ dàng.

💡 Vì sao đáng chú ý

BigMoeOnEdge khác biệt so với cách truyền thống là cách nó khai thác bản chất của MoE: chỉ một phần nhỏ các experts được sử dụng cho mỗi token. Bằng cách tận dụng ý tưởng này, dự án có thể chạy mô hình lên tới 5 lần kích thước RAM của thiết bị mà không mất chất lượng đầu ra. Đây là giải pháp lý tưởng cho người dùng muốn chạy các mô hình lớn trên thiết bị di động mà không cần phần cứng chuyên dụng.


#EdgeAI #LLM #MixtureOfExperts #llama.cpp #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Modelimage-text-to-text
SC117/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-GGUF

GSQ-RCO upstream · layout preserved144 tensors transplantedIQ3S / IQ3XXS / IQ2XS / Q20per-tensor blake2b verified262K contextAPACHE-2.0 Qwen3.8-Flash-Next · GSQ-RCO-abliterated The refusal direction removed from an already-quantized GSQ-RCO model —...

♥0
4.0M
Oct 24, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

475.2k
Nov 23, 2026
RepositoryTypeScript
firecrawl/firecrawl

Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.

207.6k
Nov 23, 2026
RepositoryPython
vllm-project/vllm

A high-throughput and memory-efficient inference and serving engine for LLMs

97.3k
Nov 22, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.1k
Nov 21, 2026
RepositoryGo
ollama/ollama

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

187.9k
Nov 22, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

145.2k
Nov 23, 2026
RepositoryC++
google-ai-edge/mediapipe

Cross-platform, customizable ML solutions for live and streaming media.

37.8k
Nov 22, 2026
RepositoryC++
mozilla-ai/llamafile

Distribute and run LLMs with a single file.

26.7k
Nov 9, 2026