notwitcheer/llm-bench-rig
notwitcheer/llm-bench-rig has 48 GitHub stars and 5 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-10 03:08 UTC. Last push 2026-11-06.
Dual-engine (llama.cpp + vLLM) LLM benchmarking pipeline for GGUF & safetensors on NVIDIA GPUs — speed, quality, live dashboard, publishable cards.
Measured star growth
- in 24h
- +1
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalllm-bench-rig
Professional benchmarking pipeline for GGUF and safetensors models on NVIDIA GPUs. Built for RTX 5090 (Blackwell), works with any CUDA-capable GPU.
Dual-engine: llama.cpp for GGUF models, vLLM for safetensors. Produces structured JSON results, live web dashboard, and publishable benchmark cards.
What it does
- Speed benchmarks: a llama-bench sweep,
-p 128,512,2048,4096,8192,16384 -n 128(prompt processing at six context lengths plus tg128 generation,speed.context_lengthsin config.yaml), or the vLLM API for safetensors models. A served (HTTP) lane,scripts/speed_served.py, times streaming chat completions against a running server and reports TTFT and perceived tokens per second as percentiles. - Quality benchmarks: five board tasks (MMLU, ARC-Challenge, HellaSwag, GSM8K, HumanEval) run through our own generative evaluators in
lib/evals/against llama-server chat completions, at temperature 0, letter or number extraction and code execution for scoring. There is no lm-evaluation-harness dependency, so multiple-choice scores are generative rather than loglikelihood based and can differ from harness numbers by several points; they are consistent with each other, which is what the board needs. GPQA-diamond is a second tier task: reported alongside, never part ofq_avg. - Error bars:
scripts/board_ci.pywritesdataset/board_ci.csvwith a Wilson 95% interval per task per row and a propagatedq_avghalf-width, so neighbouring rows can be read as a tie when they should be. - Provenance: every run writes a
provenanceblock intoresults/<slug>/meta.json(llama-server build and chat template hash, server command line, gguf sha256, harness git sha, resolved quality config) so a number can be traced back to what produced it. - Live dashboard — FastAPI + SSE, real-time GPU stats and benchmark progress
- Export — HTML reports, PNG cards (1200x675 for X/HF), cross-model comparison pages
- Queue manager — batch benchmarks with review gates between models
Setup
# Clone and configure
cp config.example.yaml config.yaml
# Edit config.yaml with your paths and hardware
# Install dependencies
pip install -r requirements.txt
playwright install chromium
Usage
# Benchmark a single model
python bench.py path/to/model.gguf
# Speed benchmarks only
python bench.py path/to/model.gguf --speed-only
# Queue multiple models
python bench_queue.py add path/to/model.gguf
python bench_queue.py add-all # scan HuggingFace cache
python bench_queue.py list
python bench_queue.py start
# Live dashboard (run alongside benchmarks)
python dashboard.py
# Export results
python export.py model-slug
python export.py --compare model-a model-b model-c
Requirements
- Python 3.10+
- CUDA-capable GPU with nvidia-smi
- llama.cpp built with CUDA (for GGUF models)
- vLLM (for safetensors models, optional)
- Playwright + Chromium (for PNG card export)
Hardware tested
- NVIDIA RTX 5090 32GB (Blackwell, sm_120)
- CUDA 12.8 (patched for glibc 2.41 compatibility)
- Ubuntu 26.04 LTS
License
MIT
Explore related projects
affaan-m/ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
300,694 starsNousResearch/hermes-agent
The agent that grows with you
262,399 starsmultica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
231,805 starsfirecrawl/firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
200,444 stars