Skip to content

Six Serving Engines, One 8 GB GPU: Gemma 4 E2B on an RTX 3050

8.1 relevance
Score Breakdown
technical depth
9
novelty
8
actionability
8
community
7
strategic
6
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Benchmarking six LLM serving engines on limited GPU is highly relevant for AI deployment.

AI/ML dev.to
Six Serving Engines, One 8 GB GPU: Gemma 4 E2B on an RTX 3050
Summary

A developer benchmarked six inference serving engines—llama.cpp, vLLM, SGLang, mistral.rs, plain PyTorch, and LiteRT-LM—all running Gemma 4 E2B with Google's QAT 4-bit weights on a single 8 GB RTX 3050. Answer quality was nearly identical across engines (GSM8K 0.8992–0.9030, BFCL 0.9125–0.925), but throughput varied dramatically under load: vLLM and SGLang reached 1,651–1,711 tokens/second at 64 concurrent requests, while llama.cpp managed 633 and mistral.rs 308. The E2B speculative decoder boosted vLLM 1.90x but slowed mistral.rs to 0.72x, and llama.cpp showed no benefit from using more GPU memory beyond 2.6 GB.

Author

xbill

More from xbill →