Skip to main content

ServeUtil

Profile PyTorch, vLLM and SGLang inference with GPU and network counters. Inspect Prefill and Decode by rank, select an interval for directional bandwidth and compare it with a measured hardware reference.

pip install serveutil
serveutil view rank0.pt.trace.json.gz

Create a shareable report with serveutil report TRACE -o report.html. Model capture uses the PyTorch installation in your serving environment. With a running vLLM server configured to write profiler traces to a shared directory:

serveutil capture --engine vllm --url http://localhost:8000 \
  --trace-dir /profiles --seconds 5 --generate "Explain prefill and decode."

Use --engine sglang and the SGLang service URL for SGLang. Add --calibrate on idle test devices to measure a local reference. For independent HBM read/write sampling on compatible Linux devices install serveutil[pm].

Documentation · 简体中文 · Desktop downloads

Metadata

Release files for serveutil 0.1.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 serveutil 0.1.0
File Size Uploaded Provenance Actions
serveutil-0.1.0.tar.gz 18.2 MB With provenance Details for serveutil-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for serveutil 0.1.0
File Interpreter ABI Platform Actions
serveutil-0.1.0-py3-none-any.whl Python 3 none any Details for serveutil-0.1.0-py3-none-any.whl

Total release size: 35.7 MB

Release files / serveutil-0.1.0.tar.gz

Download URL serveutil-0.1.0.tar.gz
Size 18.2 MB
Tags Source
SHA-256 checksum
How to use checksums
19f0f0a737385814df580100eb6c05acfdba9fa3ef4da1df2721dff2870facec
BLAKE2b-256 checksum
How to use checksums
cb67b3807c7c8723a88672c2d014a392ee16d756598e1399608362825c7d124a
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 27, 2026.

Transparency log

Release files / serveutil-0.1.0-py3-none-any.whl

Download URL serveutil-0.1.0-py3-none-any.whl
Size 17.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7716ccd64646e01f2f4834a9a81b64706e96aa6c0c17058d84f6c609c237a84d
BLAKE2b-256 checksum
How to use checksums
25924871887277e0e5effca359bbef035b12a15910dae56a53570c1a60e29846
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 27, 2026.

Transparency log

Security for serveutil 0.1.0

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 serveutil-0.1.0.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 27, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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