Skip to main content

Benchmark runner for local-bench.ai - the community quality leaderboard for local AI setups.

Project description

local-bench-ai

CLI benchmark runner for local-bench.ai — a community quality leaderboard for local AI setups. It benchmarks GGUF models served by llama.cpp (or any OpenAI-compatible endpoint), scores them on the six-axis Local Intelligence Index (Agentic, Knowledge, Instruction-Following, Tool calling, execution-verified Coding, Math), and packs signed, reproducible result bundles you can submit for maintainer review.

Quickstart

pip install "local-bench-ai[hf]"   # Python 3.11+

# 1. Fetch the static suite used by the public path below (hash-verified)
localbench fetch-suite --site https://local-bench.ai \
  --suite suite-v1-static-exec-5axis-v1 --accept-suite-terms

# 2. Cache the tokenizer/chat template for offline identity
localbench cache-tokenizer <hf-model-id>

# 3. Public path today: run the five non-agentic axes (measured/static, not full-index eligible)
localbench bench <catalog-model-or-hf-repo> --static-only \
  --llama-server-path <path-to-llama-server>

# 4. Managed-harness path: fetch the full suite, then launch the pinned server
localbench fetch-suite --site https://local-bench.ai \
  --suite suite-v1-full-exec-6axis-v1 --accept-suite-terms

localbench bench \
  --runtime llama.cpp --server-bin <path-to-llama-server> \
  --model-file <model.gguf> --model-id <model-slug> \
  --hf-model-id <hf-model-id> \
  --suite suite-v1-full-exec-6axis-v1 --bench all \
  --wsl-venv-python <managed-wsl-python> \
  --appworld-root <managed-appworld-root> \
  --lane bounded-final-v2 --profile auto --tier standard \
  --ctx 32768 --seed 1234 --out runs/my-bench

# 5. Submit for maintainer review (nothing auto-publishes)
localbench submit run --run runs/my-bench

Full six-axis execution currently requires managed AppWorld configuration. Until the managed runtime is public, use one-shot --static-only to run the other five axes without agentic setup. Safetensors/vLLM execution is a separate maintainer-operated lane documented in docs/benchmark-build/vllm-maintainer-runbook.md; it does not change the public llama.cpp/GGUF path.

The site's submit page generates these commands for your exact model and runtime, including the full identity flag set for bring-your-own-server runs. Publishable bounded-final-v2 runs require a 32k server context.

What makes rows trustworthy

  • Suites are hash-pinned releases; sampler settings are pinned (greedy, seeded).
  • Coding is BigCodeBench-Hard, re-executed by the maintainer's sandbox verifier before it can rank; community agentic results are labeled self-reported.
  • Every number on the board links to a receipt with the full run manifest.
  • Nothing ranks without maintainer review.

Methodology: https://local-bench.ai/methodology

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

local_bench_ai-0.4.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

local_bench_ai-0.4.0-py3-none-any.whl (919.9 kB view details)

Uploaded Python 3

File details

Details for the file local_bench_ai-0.4.0.tar.gz.

File metadata

  • Download URL: local_bench_ai-0.4.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for local_bench_ai-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ab8c71789901c1e4de0c9755ede3c264f0ef87b220e01dd6e0696955ce511f9d
MD5 c4e716fc8a0b86578442a8ba476cb3ab
BLAKE2b-256 4e9e488d2e70b89eb1fcf9e9ae5e0807c1899d70a17abf5f2de59bfeef994d8f

See more details on using hashes here.

File details

Details for the file local_bench_ai-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: local_bench_ai-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 919.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for local_bench_ai-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b61944f7e77220a4d1224cff9dee3c455823a5c2fcf38178d169de27032f49c
MD5 71d1f471d96f965f8b9fa9c9c0df24fe
BLAKE2b-256 2a184505f97934b894136e7c95094ff539e88aeb0b8ea8db4f41b8c22b2f46b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page