Skip to main content

inference-vitals

Website PyPI Python Licence: MIT Tests Apple Silicon · Linux with NVIDIA

Training and inference on one timeline, open and Prometheus-native.

One screen for running and fine-tuning AI models on an Apple Silicon Mac, or on Linux with NVIDIA GPUs (experimental): how well a fine-tune is learning or how fast the model answers, how close the machine is to running out of memory, and how hot it is getting, on the same timeline. Everything is kept in Prometheus, so Grafana or any other tool can read it too.

At a glance, during a run: speed, context, answers, memory, swap, GPU, heat and power

Activity Monitor (or nvtop) makes you switch views and knows nothing about models. Benchmark apps time the requests they send themselves. inference-vitals sits beside whatever you are running and records both sides, the model and the machine, so you can see why a run slowed down: the GPU got hot, the system started swapping, or a page was simply longer.

What you get

  • Model runs, with any local engine (Ollama, LM Studio, llama.cpp, the MLX servers, Jan, LocalAI) or your own code: speed live while the answer is written, time to first token, context used, answers cut off or invalid.
  • Fine-tunes: training and validation loss, steps and time left, and whether the model is still learning or has started memorising its examples.
  • The machine: GPU memory left, memory pressure, swap, GPU use, temperatures, thermal state, power.
  • Energy: what the machine used over any range, how much of it was the AI, and the cost at your rate.
  • Battery on a laptop: the charge, and on battery how long it will last at this load, with a warning when it will not outlast the run.

It fits one screen: the live numbers stay in view while tabs swap the charts below them, and you star the charts you want together in Favourites. Every tile and tab: docs/dashboard.md.

Quick start

On an Apple Silicon Mac with Homebrew:

brew install uv prometheus macmon
uv tool install inference-vitals
inference-vitals start
open http://127.0.0.1:3000

The machine's numbers appear straight away. Linux with NVIDIA, Grafana, troubleshooting: docs/install.md.

To update, then pick up the new version (start restarts whatever an older one left running):

uv tool upgrade inference-vitals
inference-vitals start

What changed in each release: CHANGELOG.md.

Connect what you run

You run… Then More
An engine with an HTTP API (Ollama, LM Studio, llama.cpp, MLX servers) inference-vitals proxy --to http://127.0.0.1:11434 and point your app at http://127.0.0.1:8401 connect.md
Your own Python code Three calls from inference_vitals.metrics connect.md
A fine-tune (mlx-vlm, mlx-lm, or any loop) inference-vitals train -- <your training command> training.md

Privacy

Everything runs on your machine and listens on 127.0.0.1 only; the page loads nothing from the internet; only numbers are collected, never prompts, answers or file names. More: docs/limits.md.

Documentation

Install Mac and Linux, commands, Grafana, troubleshooting, uninstall
Connect The proxy and the Python library for model runs; run conditions
Training Following a fine-tune three ways; how "Learning?" is decided
Dashboard Every tile, training mode, energy and cost, battery, address options
Metrics Every metric name, for other tools that read Prometheus
Limits Privacy in full, overhead, what it cannot show
AGENTS.md For coding agents helping you: tasks, checks, symptoms, rules
CONTRIBUTING.md Tests, checks, adding a trainer, releasing, where things are
CHANGELOG.md What changed in each release

It is Prometheus with a dashboard page of its own (or Grafana), macmon for the chip on a Mac (on Linux, a small exporter that reads nvidia-smi), small exporters for memory and the battery, the proxy, and a tiny Python library, with no dependencies beyond Python itself.

Credits

inference-vitals runs macmon (MIT) and Prometheus (Apache-2.0), and optionally Grafana (AGPL-3.0), installed separately (Homebrew on a Mac, your package manager on Linux); none of them is bundled here.

Licence

MIT. See LICENSE.

Metadata

Release files for inference-vitals 0.2.2

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

Source distribution (sdist)

Source distribution for inference-vitals 0.2.2
File Size Uploaded Provenance Actions
inference_vitals-0.2.2.tar.gz 60.3 kB With provenance Details for inference_vitals-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for inference-vitals 0.2.2
File Interpreter ABI Platform Actions
inference_vitals-0.2.2-py3-none-any.whl Python 3 none any Details for inference_vitals-0.2.2-py3-none-any.whl

Total release size: 126.6 kB

Release files / inference_vitals-0.2.2.tar.gz

Download URL inference_vitals-0.2.2.tar.gz
Size 60.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5cf6f7334d0dc478e3cc63865be88a136f3d617e42fba7bcc49b48d9bb54f057
BLAKE2b-256 checksum
How to use checksums
2bbfca88440449b29a4613356474d0e4c8b29fa93c412022e7b8b01d01557725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / inference_vitals-0.2.2-py3-none-any.whl

Download URL inference_vitals-0.2.2-py3-none-any.whl
Size 66.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
856c21969c6c748978bcf3f920a573080d4c532a78f635b40e3f21df4b5f3c83
BLAKE2b-256 checksum
How to use checksums
9cf3865476292c1a3090da48a3866476a08bf22238cca351c05fa9ef50e1cb88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for inference-vitals 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for inference_vitals-0.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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