Skip to content

About

Telemetry-based compute verification: verification node, GPU telemetry collector, Replay demo

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Telemetry Verification

CI Licence Python 3.12 | 3.13 uv Live demo Hugging Face dataset

A proof of concept for telemetry-based compute verification. It checks GPU telemetry alone (power, tensor-core utilisation, network traffic) to see whether what a cluster runs matches what its operator declared.

Live demo: https://telemetry-verification.fly.dev. Read the Overview first, then open the Replay demo.

How it works

Inside the prover, GPU nodes run under a central Slurm scheduler. A collector on each node sends reported telemetry to the verification node; the scheduler sends its declared Slurm workloads to the same node.

GPU boxes ── collector.py ──► telemetry ──┐
                                          ├──► verification node ──► verdict per window
Slurm head ── slurm_reporter.py ─► jobs ──┘     (checks 3 rules)
  • Collectors run on each GPU box. They read NVML and stream per-GPU telemetry to the node.
  • The scheduler reporter sends the cluster's job table. Each job declares its type in Slurm's comment field (sbatch --comment=declared:inference).
  • The verification node runs every 10 s. It checks the last 60 s of telemetry against the declared jobs and shows where a rule broke.

In the intended design, the node sits on-site in a tamper-evident enclosure. It receives telemetry signed on the GPU and reports only signed verdicts to an outside verifier. This prototype implements the data path and the rules, but not the signing (see Limits).

Repository layout

node/            the verification node (FastAPI): ingest, rule loop, APIs, the site
  app.py           server entry point (uvicorn node.app:app)
  rules/           one file per rule; rules.md is the spec
  signing.py       Ed25519 keys and signatures for verdicts and the signed data path
  pages/, static/  Overview, Replay demo and BYOG pages; replay-data/ is what the Replay demo plays
box/             runs on the GPU boxes; the node serves these at /collector.py, /setup.py, /slurm_reporter.py
  collector.py     streams NVML telemetry to the node
  setup.py         sets up a rented box: collector, vLLM, TorchTitan
  slurm_reporter.py, setup_one_box.sh   report the Slurm job table; a one-box Slurm for testing
recording/       the scripts that recorded the public dataset (logger, servers, load, prefill/decode split)
analysis/        make_replay_data.py (recordings → the Replay demo's data), evaluate.py + results/ (rule margins)
docs/            SPLIT_CAVEATS.md; fig-demo.svg (the figure above); signed-path/, an earlier prototype of signed telemetry
tests/           pytest: the rules against an independent reimplementation of the spec, and node smoke tests

Running it

Dependencies are managed with uv.

uv sync                                          # .venv with the node, analysis and dev dependencies
uv run uvicorn node.app:app --port 8000          # the node and site at localhost:8000
uv run pytest                                    # tests
uv run ruff check .                              # lint
make check                                       # everything CI runs: lint, tests, box scripts on Python 3.11

CI runs make check on Python 3.12 and 3.13, and builds the Docker image.

To stream from a real GPU box, follow Bring Your Own GPUs (/byog) on a running node. Its first step is a one-line install command with the node's URL filled in.

Deploy: fly deploy --ha=false --remote-only (one machine; state is in memory). fly.redirect.toml is the old address, which only redirects here.

The rules

Rule A job or GPU breaks it when…
1. Undeclared workloads A GPU that no declared job covers averages over 200 W (300 W on B200/B300)
2. Hidden training A job declared inference has tensor-core utilisation over 40%
3. Cross-partition traffic A job declared inference sends over 0.001 GB/s to other boxes over the RDMA ports

The full spec is node/rules/rules.md. It is detailed enough to reimplement the rules from. tests/test_rules_spec.py is such a reimplementation, and it is checked against the real code.

What it was tested on

Recordings from 8×H200 nodes on two rentals: two nodes on 2026-11-11 and one node on 2026-11-16.

  • Inference: vLLM serving DeepSeek V4.1 Flash, driven by AgentX agentic traces. It covers tensor-parallel, expert-parallel and a prefill/decode split across the two nodes.
  • Pretraining: TorchTitan on Llama 3 8B, with different batch sizes and activation-checkpointing settings.

Reproduce the margins

The raw recordings are public on Hugging Face: Atharva-N/telemetry-verification (CC BY 4.0). One command downloads the files the rules need (~230 MB) and runs the same rule code as the demo over every recording:

uv run python analysis/evaluate.py

It prints, for each recording and rule input, the spread of the 60-second values and the share of 10-second checks on the side of the threshold the rule needs. The results from the dataset as published are in analysis/results/margins.txt. In short:

  • Training vs serving (rule 2): training kept tensor cores 58 to 78% busy (median), serving at most 14.5%, against a 40% threshold. Every check outside training's pauses (start-up before the first step, checkpoint saves) is on the right side; during those pauses training drops below 40%.
  • Cross-node traffic (rule 3): the prefill node of a split sent 0.013 to 0.24 GB/s; every single-node job sent at most 0.0002, against 0.001.
  • Busy floor (rule 1): every workload sat above 200 W, except serving at 4 concurrent sessions, which dipped under it in 5 to 17% of checks.

Two caveats. The thresholds were chosen by looking at these same recordings, so there is no held-out test. And none of these workloads were trying to evade the rules.

Limits

  • Telemetry is unsigned. The design assumes the GPU signs telemetry on-die, which current firmware doesn't support. Until then, the operator could spoof the telemetry.
  • The rules are not red-teamed. The thresholds are placeholders fit to a handful of runs.
  • Multi-node is partly simulated. Most composed scenarios line up recordings made at different times. box/collector.py --split can divide one box into pretend nodes (see docs/SPLIT_CAVEATS.md).
  • Rule 3 needs two or more live boxes. The collector (v0.5+) sends RDMA network counters, but the node only feeds them to rule 3 when at least two boxes stream.
  • Node state lives in memory on a single machine.

Citation

GitHub's "Cite this repository" button reads CITATION.cff.

Contributing and security

See CONTRIBUTING.md and AGENTS.md. Report vulnerabilities privately, as SECURITY.md describes, not in a public issue.

License

Code: Apache-2.0. Data: the recordings on Hugging Face are CC BY 4.0.

Led by Lucid Computing.

About

Telemetry-based compute verification: verification node, GPU telemetry collector, Replay demo

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages