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.1.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.1-py3-none-any.whl (923.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: local_bench_ai-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e23d8d81f9697bbb862d4f104b0fce8d4c0fd0ddae556cb8b4788b30d752bce7
MD5 7cf3f94fda4a39f240adfbef39d19eab
BLAKE2b-256 dbe11039bd674ef5ab4738de614136966db44d3050293c7e6ac9bcba3e8fd42b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: local_bench_ai-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 923.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06b9240d77d5f345a34c6debb88fa4a380775c5e53a1d35c72f1c8b339d18bfe
MD5 2ee7d01b4bc1d852b59bf7212168ab47
BLAKE2b-256 a1cf1263515f80566b299c11c65bc2d5690f6c8914d4bf23a26ea0b828acfd56

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