Skip to main content

LocalForge Inference Lab

LocalForge measures and compares LLM inference engines on your own machine. Connect an engine you already run (Ollama, llama.cpp, vLLM, SGLang, an OpenAI-compatible server, and more), build a repeatable workload, run it, and read the results as charts: time to first token, latency percentiles, tokens per second, and host CPU and memory during the run. Compare runs side by side to see which model or setting is faster on your hardware.

Everything stays local. The app listens only on 127.0.0.1, keeps its data in a local SQLite database, and never downloads models.

Install and run

You need uv and an inference engine with a model, for example Ollama with ollama pull llama3.2:1b.

uvx localforge-inference-lab

This starts LocalForge and opens it in your browser. Press Ctrl+C in the terminal to stop it. To keep a localforge command installed instead:

uv tool install localforge-inference-lab
localforge

Options

Option Purpose
--port 8123 Listen on a specific port. By default 8000, or a free port if it is taken.
--data-dir PATH Keep the database and datasets in another folder, for example a bigger drive.
--no-browser Start without opening a browser tab.
--version Print the installed version.

First benchmark

  1. Engines: add your engine (for Ollama keep the default http://127.0.0.1:11434), probe it, and pick a model.
  2. Workloads: choose a preset, save the plan, and launch it.
  3. Runs: follow the run live and read its charts and measurements.
  4. Experiments: select several runs and compare them.

Source, documentation, and the development setup are at https://github.com/HaisamAbbas/Local-Forge.

Metadata

Release files for localforge-inference-lab 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for localforge-inference-lab 0.2.0
File Size Uploaded
localforge_inference_lab-0.2.0.tar.gz 2.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for localforge-inference-lab 0.2.0
File Interpreter ABI Platform
localforge_inference_lab-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 MB

Release files / localforge_inference_lab-0.2.0.tar.gz

Download URL localforge_inference_lab-0.2.0.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
71fb7e8262eabf4dfa6bd297147e908e8b20ee9c6f8da3befe5fa14184b0e519
BLAKE2b-256 checksum
How to use checksums
c77e91654298ca92b8670a3439eba8b4daf9705f914aa6fa26230c4f83415a21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}

Release files / localforge_inference_lab-0.2.0-py3-none-any.whl

Download URL localforge_inference_lab-0.2.0-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e1aef8e287c671cf9595030ad577f646d18240e610fbb54008b6e07471ab4f34
BLAKE2b-256 checksum
How to use checksums
d0b877090880f93cc066e25b34b8b06819995691cbdd7c3a2bcfb0e8f6092019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}

Release history Release notifications | RSS feed

0.2.1

2 release files

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page