DEV Community

VoltageGPU
VoltageGPU

Posted on

A GPU stability test whose report can't be edited afterwards: voltage-verify 0.4.0

A stability test tells you that a GPU computed correctly for five minutes. It doesn't say which machine it ran on, and its report is a text file: whoever holds it can change a line before showing it to you. When you rent the GPU, the one holding the file is often the seller.

I run VoltageGPU, which rents NVIDIA GPUs inside Intel TDX virtual machines. voltage-verify is the open source tool (MIT, Python 3.10+) I publish so that tenants don't have to trust me: it binds an Intel TDX quote and NVIDIA's GPU attestation tokens to a manifest you write, and verifies the bundle on your own machine. Version 0.4.0 is on PyPI. It adds a hardware test, health, and a way to commit to its report in that manifest.

The short version

  • voltage-verify health -o health.json loads every NVIDIA GPU of the machine for 300 seconds (60 with --quick) and writes a report. No network, nothing sent anywhere, nothing installed.
  • voltage-verify manifest --health health.json writes the SHA-256 of the report into the manifest.
  • attest then returns a TDX quote that carries the SHA-512 of the manifest, and NVIDIA tokens issued over its SHA-256. Both cover the report.
  • verify --health health.json fails if the file differs from the committed one by a single byte.
  • The limit: this seals the report, it doesn't make it true. A program inside the machine wrote it, and nothing ties it to the attested GPUs.

What health checks

Each line ends as PASS, FAIL, WARN, SKIP or INFO.

  • Inventory against the listing: model, count and VRAM, compared with --expect-gpu, --expect-gpus and --expect-vram.
  • Memory errors: ECC counters, retired pages and remapped rows, read before and after the load.
  • Xid errors in the kernel log during the test.
  • Sensors: temperature, power, clocks and slowdown reasons, sampled under load.
  • Compute: the same 8192x8192 matrix product again and again, each result compared with the first, in bursts of 8, 4, 2 and 1 seconds with pauses in between. Before it, an exact product is compared with the CPU's.
  • VRAM: five patterns written to at least 90% of the free memory, then read back.
  • Copies between GPUs, with two GPUs or more (see below).

The compute and VRAM tests need a CUDA build of PyTorch. health never installs it, and a test that could not run is a SKIP, never a pass. On my Windows desktop, without PyTorch, the last line was RESULT: INCOMPLETE (not tested: errors.xid, compute.matmul, vram.pattern) and the exit code was 3.

A real run

On 23 November 2026 I rented one of our confidential VMs, with one H100, and ran the whole loop with the released 0.4.0. The VM lived 660 seconds. This is what health printed. I left out seven lines: three more inventory lines, the clocks, the topology, the per-GPU summary and the report digest.

[PASS] inventory.gpus   1x NVIDIA H100 80GB HBM3, 81559 MiB, driver 595.71.05, vbios 96.00.CF.00.01, PCI 01:00.0 (id 10de:2330)
[PASS] errors.ecc       ECC on 1/1 GPUs, no uncorrected error, nothing pending, 0 corrected since the driver loaded
[PASS] errors.xid       no Xid during the test, read with dmesg
[PASS] sensors.thermal  max 69 C (GPU 0), max 721 W, no thermal or hardware slowdown; at the power cap in 84% of the samples under load (normal under full load)
[PASS] compute.matmul   1/1 GPUs ran 300 s of variable load, median 681 TFLOPS (bfloat16), 5900 results recomputed and compared: 0 changed; exact product equal to the CPU's on every GPU (PyTorch 2.7.1+cu128)
[PASS] vram.pattern     1/1 GPUs: 5 patterns written and read back on 91% of the free VRAM (71.6 GiB per GPU at least), 0 wrong bytes

RESULT: PASS
Enter fullscreen mode Exit fullscreen mode

The TFLOPS figure is the throughput of this test's own load, so don't read it as a benchmark.

The day before, I had run the same loop on an RTX PRO 6000 Blackwell VM with a pre-release build (0.4.0.dev0). It also ended on RESULT: PASS: 3223 products compared, 0 changed, 86.4 GiB of VRAM tested, 0 wrong bytes. I mention it for what it is: a second GPU model, but not a run of the release.

Putting the report under the attestation

manifest --health adds one key to the manifest:

"health": {
  "schema": "voltage-verify/health/1",
  "sha256": "4adccc813fd480efa152b9f7f570782105f2fb886570aad55e727c6086ae158b"
}
Enter fullscreen mode Exit fullscreen mode

The report has one canonical encoding, and that digest is what sha256sum health.json prints. After attest in the VM, I verified the bundle on my own machine, online, against Intel's collateral. The result was RESULT: VERIFIED, exit code 0. Sixteen lines passed and one warned; I come back to the warning in the limits. Here it is, followed by the line that is new in 0.4.0:

[WARN] tdx.measurements      TD software not pinned: pass --expect-mrtd to check it
[PASS] health.report         health report sha256 4adccc813fd480ef... is the one the manifest commits to; measured 2026-11-23T11:25:04+00:00 from inside the machine, verdict of the report: PASS
Enter fullscreen mode Exit fullscreen mode

Then three more runs on the same bundle.

A wrong challenge (all zeros). Exit code 1; the two lines that changed:

[FAIL] manifest.challenge    challenge differs from the one this verifier issued (replay or foreign bundle)
RESULT: NOT VERIFIED (manifest.challenge)
Enter fullscreen mode Exit fullscreen mode

One byte of the report changed (a 7 turned into an 8). Exit code 1; the two lines that changed:

[FAIL] health.report         health report sha256 df208c248168df80... is NOT the one the manifest commits to (4adccc813fd480ef...): altered after the commitment, or another report
RESULT: NOT VERIFIED (health.report)
Enter fullscreen mode Exit fullscreen mode

The previous release, 0.3.0 from PyPI. RESULT: VERIFIED, exit code 0, no health.report line: it ignores the new key, so existing scripts keep working. It also means an old verifier doesn't tell you a report was committed. The new version does: without --health, this bundle gives RESULT: VERIFIED (health report committed but not checked (no --health)) and exit code 3.

What this does not prove

health.report proves that the file you hold is, bit for bit, the one named in the manifest when the quote and the tokens were issued. Nobody edited it since, and no other report can take its place under that quote. It proves nothing else.

  • It doesn't prove that the report is true. An unprivileged program inside the machine wrote it. A host or a guest image determined to lie can make it say anything. The attestation covers the bytes, not the honesty of the software that produced them.
  • It doesn't tie the report to the attested GPUs. Whoever builds the manifest chooses the report. A dishonest seller could run health on a good machine and commit to that report in the attestation of another one. A sealed report handed to you by a seller is still the seller's word. Run health yourself, in the VM you rent.
  • It doesn't prove when the test ran. The report is written before the challenge exists, and its date is the machine's own word. verify only warns when that date is more than 24 hours before the manifest's, or after it.
  • It isn't a soak test. 300 seconds of load won't catch an Xid at hour 30.
  • I didn't pin the TD software. Every verification above carries the [WARN] tdx.measurements line shown earlier: TD software not pinned: pass --expect-mrtd to check it. I passed no --expect-mrtd, so nothing here compares the software measured in the VM with a reference.
  • Two runs, one GPU each, as root, both PASS, and only one of them with the release. I have no run where health caught a faulty GPU: the failure paths are covered by tests with injected faults, not by broken hardware. I haven't run it as an ordinary user in a VM yet either.

Multi-GPU: not run on real hardware yet

With two GPUs or more, health adds a line, multi.p2p: 256 MiB copied from each GPU to every other one, 3 warm-up copies then 20 timed ones per ordered pair, the warm-up copies and the last timed copy compared byte for byte with what was sent. As I write this, that check has run on recorded fixtures and on the CPU build of PyTorch only. The copy test between GPUs has not run on real multi-GPU hardware yet, so I show no result for it.

Try it

Install voltage-verify[attest] and a CUDA build of PyTorch in the VM (I used torch 2.7.1, cu128), and voltage-verify on your machine. Then four commands, as I ran them. The sudo env prefix lets root see packages installed with pip --user.

# 1. in the VM
USERSITE="$(python3 -c 'import site;print(site.getusersitepackages())')"
sudo env PATH="$PATH" PYTHONPATH="$USERSITE" voltage-verify health --burn-seconds 300 --expect-gpu "H100" --expect-gpus 1 --expect-vram 80 -o health.json

# 2. on your machine, with health.json copied back
voltage-verify manifest --challenge auto --health health.json -o manifest.json

# 3. in the VM, with manifest.json copied in
sudo env PATH="$PATH" PYTHONPATH="$USERSITE" voltage-verify attest --manifest manifest.json --mode single-gpu -o bundle.json

# 4. on your machine, with bundle.json copied back
voltage-verify verify bundle.json --challenge <challenge printed at step 2> --health health.json --hwmodel GH100 --gpus 1
Enter fullscreen mode Exit fullscreen mode

Run step 1 on a machine that does nothing else: the load takes every GPU, and the VRAM test takes their free memory.

One difference with my run: the VM got the wheel as a file copied from my machine, not through pip from PyPI. It is the same file: its SHA-256, 701a023705aa745d838b0ee1ae89020cfbf6d6ff444d53506ad20b3d6dd87221, is the one PyPI lists for the 0.4.0 wheel.

Publish the proof

To show the result to someone else, upload bundle.json and health.json at voltagegpu.com/verify/share. The report names the machine (host name, GPU UUIDs, serial numbers). The page doesn't keep or republish the file: it shows the report's verdict, its date and the text of each check line, with the identifiers the report declares removed. A line is free text, so read what the page shows before you publish. The bundle is another matter: anyone can download it from the published page, and it carries hardware identifiers of its own, such as the GPU UUIDs and the platform certificate inside the quote.

The H100 run above is published that way: voltagegpu.com/verified/bq8IL8tF5nw8auXrWGLamA. You can download its bundle there and verify it on your machine.

Source and issues: github.com/VoltageGPU/voltage-verify. If you find a way to make verify say yes when it should say no, that is the report I want most.

Drafted with AI assistance, then checked: the outputs are copied as printed from a run on a rented VM and from verifications on my own machine, on 23 November 2026, with voltage-verify 0.4.0. The RTX PRO 6000 figures come from a pre-release run on 22 November 2026. Where lines were left out, the text says so.

Top comments (0)