speculative-decoding

11 repositories

raullenchai/Rapid-MLX

A faster local inference server for coding agents on Apple Silicon — Rapid-MLX is an Apache 2.0, OpenAI/Anthropic-compatible inference server built on MLX, aimed at coding agents needing reliable tool calling. Benchmarks show it decoding faster than Apple's mlx-lm, oMLX, and LM Studio on the same Qwen weights, making it worth a look for local-LLM Mac users.

Python🇺🇸 North AmericaAttention 48
★4,226
opensetlabs/openset-llm

A 27B model running 17-20 tok/s on 8-core, 8GB CPUs only — This engine runs a 27B LLM at 17-20 tokens/sec on an 8-core, 8GB-RAM CPU-only machine, claimed to be about 4x faster than the next engine tested. It ships as a prebuilt binary with an OpenAI-compatible API, targeting developers who want local inference without a GPU, for edge or self-hosted setups on Linux/WSL2 with AVX2/AVX-512.

Python
★3,437
incoai/splash

A local inference engine for Apple silicon, built around the model.

C++
★3,241
sybil-solutions/inference-optimisation-skill

Agent skill for hill-climbing local LLM serving speed (decode, speculative decoding, prefill, KV, startup, TTFT) on any hardware and quantization

Python🇺🇸 North AmericaAttention 43
★3,229
youssofal/MTPLX

Native MTP speculative decoding speeds up local LLMs on Apple Silicon — MTPLX runs Qwen 3.8 Flash Next, Qwen 3.8 27B and Ternary Bonsai 2 27B on Macs using the models' own multi-token prediction heads for exact, batched speculative decoding. It reports roughly 2x decode speed over plain decoding, with a 27B model fitting on 16 GB Macs, via an OpenAI/Anthropic-compatible local server for tools like OpenCode.

Python🇪🇺 EuropeAttention 46
★2,928
synchopate/llama-modchip

CPU-only inference for 284B and 30B MoE models without a GPU — llama-modchip targets CPU-first inference of large mixture-of-experts checkpoints like DeepSeek-V4-Flash and Nemotron-30B, fitting 284B params under 59GiB RAM via aggressive GGUF quantization. It adds chip-specific tuning (Zen5 AVX-512, Apple Silicon), Stockfish-style speculative decoding, and fast KV-cache restore for Claude Code sessions, aimed at developers without GPU access.

PythonAttention 49
★1,459
eagle-hq/EAGLE-4

Official Inference Code of EAGLE-4

Python
★1,219
StayLameBro/backburner

Your iPhone helps your Mac run a 27B model: faster prompt reading and more context over a USB-C cable

Python
★1,201
nace-ai/kapitsa

Blazing fast Apple Silicon inference engine optimized for Qwen & Nemotron. OpenAI + Anthropic API compatible. Built by folks from nace.ai

C++🇺🇸 North America
★834
ShinMegamiBoson/lookatmyquant

Per-weight quantization compiler beats Q4_K_M and ternary rivals at same file size — LookAtMyQuant allocates bits per weight row using Fisher information and trellis codes, then distills to recover accuracy. On Gemma it halves KL loss versus Q4_K_M, and its Qwen3.8-27B 7.2GB build outperforms Unsloth's same-size UD-IQ2_XXS GGUF on math and coding benchmarks. Useful for anyone shrinking LLMs for local or Apple Silicon inference.

PythonAttention 54
★776
prabanta-dev/janas

Running 80B-parameter models beyond RAM, outpacing llama.cpp — Janas is a pure C inference engine that runs LLMs larger than available memory using NVMe, speculative decoding and SIMD/Vulkan acceleration. Benchmarks on a 32 GB laptop show it beating llama.cpp on all 13 tested models, most dramatically on 48 GB MoE models like Qwen3-Next-80B. Aimed at people wanting fast local LLM inference on consumer CPU/GPU hardware without extra RAM.

C🇪🇺 Europe
★701