← Back to Leaderboard
Eshunte88

shunte88/eomoe

Single-binary Rust/CUDA inference for large GGUF models on an 8 GB NVIDIA GPU

View on GitHub ↗
Engineering Health (Methodology)
A · 76/100
Maintenance Activity
● Updated today
Latest Release
v0.3.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption1/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedLocal AICLIGPUAPI
Total Stars
★ 19
24h Growth
+1
7d Growth
+18
Forks
0

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

shunte88/eomoe Star History (2026-11-24 - 2026-12-03) DAILY STAR HISTORY (10-DAY D1 TELEMETRY) +18 in 9d · avg +2/day 23 12 0 2026-11-24: ★ 12026-11-25: ★ 12026-11-26: ★ 12026-11-27: ★ 12026-11-28: ★ 102026-11-29: ★ 162026-11-30: ★ 172026-12-01: ★ 172026-12-02: ★ 192026-12-03: ★ 19 ★ 19 11-24 11-28 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

eomoe packages a Rust inference server and CLI in one binary. Tokio and Axum handle HTTP; gguf.rs, tokenizer.rs, and template.rs load weights, perform BPE tokenization, and render Jinja chat templates using MiniJinja. The routing and quantization modules feed an f32 CPU reference forward pass used as a correctness baseline. The production GPU path uses cudarc and loads named C ABI kernels from kernels/eomoe.cu, keeping the kernel implementation separate from the host-side Rust engine.

For MoE inference, expert weights live in host RAM and active experts occupy a frequency-class LRU in VRAM. Cache misses are uploaded from pinned RAM over PCIe on a copy stream that overlaps computation. During decode, the current layer's output is passed through the next layer's router to prefetch likely experts, with a measured recall of 84%. Quantized tensor-core GEMMs and FlashAttention-2 accelerate prefill, while split-K attention serves long-context decode.

Key Capabilities & Differentiators

The supported GGUF variants include Q4_K_M, Q4_0, MXFP4, and ternary Q2_0 across supported models such as Qwen3.6-35B-A3B, Qwen3-Coder-Next, gpt-oss-20b, GLM-4.7-Flash, Gemma 4, and dense Qwen3.8 and Bonsai variants. The HTTP surface includes OpenAI Chat and Responses, Anthropic Messages, native completion and infill, and selected Ollama endpoints. OpenAI Chat supports streaming and tools. Constrained JSON sampling covers a subset of JSON Schema; keywords such as allOf, pattern, and minItems are accepted but not enforced.

On an RTX 5060 8 GB with an approximately 5K-token prompt and 128 generated tokens, Qwen3.6-35B-A3B reached 1467 tok/s prefill and 69.8 tok/s decode, versus 990 and 49.9 for tuned llama.cpp. The server defaults to a 32K context with f16 KV and reuses cached prompt prefixes across requests. The throughput test does not establish performance at the full context limit or under simultaneous client load.

Trade-offs & Limitations

The clearest reason to choose eomoe over tuned llama.cpp is a measured win on the MoE model you actually intend to serve, not a blanket speed advantage. Dense Qwen3.8-27B, with MTP enabled on both engines, prefills faster in eomoe but decodes at 6.2 tok/s versus llama.cpp's 7.3. The small VRAM footprint shifts pressure to host RAM and PCIe: the Qwen3-Coder-Next benchmark used 64 GB of system RAM. Four requests share the default KV pool, so benchmark long prompts and concurrency together rather than sizing from single-request throughput.

Lowering --moeexperts can trade output fidelity for speed: one Qwen3-Coder run at four experts measured roughly 1.6× decode throughput while retaining 80% of greedy choices. That is not a general quality score. Compared with a hosted OpenAI API, local inference keeps prompts on infrastructure you control but leaves capacity, availability, and client compatibility testing to you. The engine is MIT-licensed; check model-weight and client terms separately.

Hardware & Deployment Guide

CUDA requires an NVIDIA GPU with sm_80 or newer; there is no AMD, ROCm, or Vulkan backend. Source builds need Rust and the CUDA toolkit with nvcc; EOMOE_CUDA_ARCH selects a different build target when needed. Build with cargo build --release, configure a local GGUF, and start eomoe serve, which defaults to 127.0.0.1:8080. Configuration precedence is flags, environment, then YAML. Docker Compose builds locally, requests one NVIDIA GPU, mounts config and models read-only under /app, and sets EOMOE_CONFIG_PATH=/app/config/config.yaml.

Compose publishes port 8080, so verify reachability and configure API keys and TLS before allowing remote access. Queue length and request duration are unlimited by default; set --queue-limit and --req-timeout for shared service. To avoid the startup GitHub check on an isolated host, use --update off and stage model files locally. Release v0.3.0 adds ternary Bonsai Q2_0 support and model-native MTP speculative decoding for Qwen3.8-27B.

Expert placement: MoE weights stay in host RAM; pinned-memory transfers refill a frequency-class VRAM LRU on a CUDA copy stream.
Decode prefetch: Each layer applies the next layer's router to its own output to predict which expert weights to upload.
GPU execution: Quantized Q4_K/Q6_K prefill GEMMs and FlashAttention-2 use tensor cores; long-context decode uses split-K attention.
Client integration: One server exposes OpenAI Chat and Responses, Anthropic Messages, llama.cpp infill, and selected Ollama routes.
Resource controls: The default 32K f16 KV configuration supports four parallel requests sharing a KV pool, with configurable queue limits and timeouts.
Regression testing: Captured llama-server traffic drives API golden tests; an f32 CPU reference forward pass provides a separate correctness baseline.
Best For

Self-hosted coding assistants and local API workloads on a supported NVIDIA GPU, with enough host RAM for the chosen GGUF and a measured throughput advantage on the intended model.

Skip If

You need AMD or Vulkan support, enforce JSON Schema keywords outside the supported subset, or want managed capacity without sizing RAM, VRAM, and concurrency yourself.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedLocal AICLI
cargo build --release
./target/release/eomoe install          # model + Claude Code / Codex clients
./target/release/eomoe serve            # leave running (127.0.0.1:8080)
./target/release/eomoe claude           # Claude Code on the local server
./target/release/eomoe codex            # Codex CLI on the local server
./target/release/eomoe check            # streamed smoke test of both APIs

Comparison vs. Top LLMs & Inference Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
eomoe ★19+18RustMITSingle-binary Rust/CUDA inference for large GGUF models on an 8 GB NVIDIA GPU
OmniRoute92.1k+1.5kTypeScriptMITSelf-hosted OpenAI-compatible gateway for multi-provider routing and fallback
ollama189k+703GoMITGo-based LLM serving layer for local model management and inference
freellmapi62k+2.6kTypeScriptMITSelf-hosted LLM gateway for routing across free tiers and custom endpoints

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/shunte88/eomoe.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

shunte88/eomoe Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about eomoe

Can I reuse my existing Codex, Claude Code, or OpenAI client?

Point the client at the local server and use the configured model alias, which defaults to local-code. Codex uses /v1/responses, Claude Code uses /v1/messages, and the OpenAI SDK can use /v1/chat/completions. Wire compatibility is tested against a specific llama-server revision; it does not imply full feature parity with the hosted APIs. In particular, unsupported JSON Schema keywords such as pattern and minItems are accepted but not enforced.

Does an 8 GB GPU mean I can run any listed model on a low-memory machine?

8 GB is the VRAM capacity of the benchmark GPU, not a whole-system requirement or a guarantee for every configuration. The CUDA backend requires an NVIDIA GPU with sm_80 or newer. MoE experts reside in host RAM, and the 80B-A3B Qwen3-Coder-Next benchmark used 64 GB of system RAM. Size the deployment around the exact GGUF, expert cache, context length, and concurrency; the default four parallel requests share a KV pool.

Can I use eomoe commercially or deploy it on an isolated network?

The engine is MIT-licensed, which permits commercial use subject to the license's notice requirements. Review the terms for the model weights and any separately installed clients independently. For an isolated deployment, provision the GGUF locally, disable the startup update check with --update off, and assess the network behavior of the clients as well as the server.

When should I choose eomoe over llama.cpp or a hosted API?

On the published RTX 5060 8 GB test, Qwen3.6-35B-A3B reached 69.8 tok/s decode versus 49.9 for tuned llama.cpp, but dense Qwen3.8-27B with MTP on both engines favored llama.cpp at decode, 7.3 versus 6.2. Benchmark your exact model, quantization, prompt length, and concurrency before switching. Compared with the hosted OpenAI API, eomoe keeps inference on hardware you operate, but you also take on capacity planning and service operations; shared API shapes do not imply equivalent model behavior.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining shunte88/eomoe? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature shunte88/eomoe on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare