Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

vTune

vTune is a local-first experimentation and optimization tool for vLLM serving configurations. Users define the parameters and workloads they care about; vTune manages the server lifecycle, runs repeatable benchmarks, explores the search space, and reports which configurations performed best.

vTune is alpha software targeting Linux with NVIDIA GPUs and Python 3.11–3.12.

Documentation · Quick start · PyPI

The current code is verified with vLLM 0.28.0 and GuideLLM 0.7.3 on WSL2 with an RTX 3080. That host required VLLM_USE_V2_MODEL_RUNNER: "0" because UVA was unavailable and VLLM_USE_FLASHINFER_SAMPLER: "0" because the CUDA compiler toolkit was not installed. Native Linux systems may not require these settings.

Other combinations may work but are not yet verified.

The published py3-none-any wheel installs on Linux and Windows. Configuration validation and stored-result inspection work on Windows, but starting an experiment is supported only on Linux because vLLM has no native Windows runtime.

Quick start

Requirements: Linux, an NVIDIA GPU, a local model directory, and working vllm and guidellm commands.

Install the current code:

git clone https://github.com/brtydse100/vTune.git
cd vTune
pip install -e .

Create experiment.yaml:

schema_version: 1
experiment:
  name: first-run
server:
  model: /models/opt-125m
  gpu-memory-utilization: 0.8
tune:
  max-num-seqs:
    values: [8, 16]
benchmark:
  runs:
    - name: throughput
      profile:
        kind: throughput
        max_concurrency: 16
      constraints:
        - kind: max_requests
          count: 10
      data:
        - kind: synthetic_text
          prompt_tokens: 32
          output_tokens: 16
optimization:
  maximize: output_tokens_per_second
  sampler: tpe
  trials: 2

Run it:

vtune --config experiment.yaml

The short form is vtune -c experiment.yaml. The command validates the file, runs the experiment, persists results, and generates its exports and report. vTune binds vLLM to 127.0.0.1 by default. Set server.host explicitly only when the benchmark server must be reachable from another host.

Fixed vLLM flags go directly under server; tunable flags use top-level tune. Fixed and tunable environment variables use env and tune_env. See the configuration guide for categorical, boolean, integer-range, float-range, list, and environment examples. The complete YAML and benchmark guide show every supported control with copyable examples.

Terminal output is concise by default. To stream vLLM and GuideLLM logs:

vtune --config experiment.yaml --verbose

The persistent equivalent uses GuideLLM's logging level names:

logging:
  level: DEBUG

Supported levels are DEBUG, INFO, WARNING, ERROR, and CRITICAL. Full per-trial log files are always saved. --verbose overrides the configured level with DEBUG for that invocation.

Retry one or more selected trials into a new immutable linked run:

vtune retry --run runs/EXPERIMENT/RUN_ID \
  --trial trial-0001 --trial trial-0004

The source run is never modified.

Display every stored vLLM and GuideLLM command for a trial without executing anything:

vtune reproduce --run runs/EXPERIMENT/RUN_ID --trial trial-0001

Each completed run also contains a self-contained report.html decision dashboard with the best observed configuration, baseline comparison, score history, throughput/latency tradeoff, and observed parameter effects.

Random and TPE runs never execute the same resolved configuration twice. If optimization.trials exceeds the unique search space, vTune warns and runs every unique configuration once.

Product documents

The MVP specification defines the first releasable version and its acceptance criteria. The roadmap describes capabilities that should be designed for now but implemented after the core experiment loop is reliable.

vTune is available under the MIT License.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vtune-0.1.0a3.tar.gz (48.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vtune-0.1.0a3-py3-none-any.whl (68.9 kB view details)

Uploaded Python 3

File details

Details for the file vtune-0.1.0a3.tar.gz.

File metadata

  • Download URL: vtune-0.1.0a3.tar.gz
  • Upload date:
  • Size: 48.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vtune-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 cdda19c03ded1825ad55f67eef617b6789427d95b4ce53e8b880de41671e824b
MD5 40eb432a596d09fb5691d88c30f51572
BLAKE2b-256 7f0f92fe244499629f634b109111ddd6fd069de585fc426b91c39dca5e688639

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtune-0.1.0a3.tar.gz:

Publisher: publish.yml on brtydse100/vTune

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vtune-0.1.0a3-py3-none-any.whl.

File metadata

  • Download URL: vtune-0.1.0a3-py3-none-any.whl
  • Upload date:
  • Size: 68.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vtune-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 9eac3e64d5400ebaf9ea3ca09cb5c693a81a7a42e47967c581c36fba47864745
MD5 3d4637288118cfaf6b3aa3169bfd78eb
BLAKE2b-256 7f398c0bfd8d59ae1b355addd189001fee6a52d8d3aa9734122f40bb20e8f545

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtune-0.1.0a3-py3-none-any.whl:

Publisher: publish.yml on brtydse100/vTune

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.
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