Skip to main content
Pre-release

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

AISim

AISim predicts LLM serving behavior and searches for deployment configurations offline, without bringing up a GPU serving cluster. The Python package includes the simulation engine, performance estimator and profiles, Replay, Sweeper, and deployment generation through the compatibility CLI and generator SDK.

Website · Repository · CLI guide

Install

Use Python 3.11–3.13. This branch builds the renamed aisim distribution; these commands require its publication on your selected index. Until then, use a historical aisim release in a separate environment or build from source:

python3 -m pip install aisim
aisim --help

The aisim wheel provides both aisim and aisimulate; both commands use the same entry point. Python imports remain aisim and aisim_core.

The built-in engine runs without Dynamo. See the installation guide for platform requirements, source builds, nightly artifacts, and compatible Dynamo installations. Documentation on main may describe features newer than the latest published wheel. The optional Dynamo Planner integration requires additional dependencies described in that guide.

Migrate from the aisim distribution

The distributions share their Python files and CLI, so uninstall aisim before installing or upgrading to aisim:

python3 -m pip uninstall -y aisim
python3 -m pip install --upgrade aisim
python3 -m pip check

If both names are already installed, use a fresh environment or uninstall aisimulate and force-reinstall your selected aisim wheel to repair overlapping files. Keep a Dynamo environment on the old distribution until its Dynamo release requires aisim; otherwise dependency resolution can reinstall aisim. Import names remain aisim and aisim_core.

Predict one deployment

Save the following as prediction.yaml:

engine:
  mode: aggregated
  model: Qwen/Qwen3-32B-FP8
  hardware: h200_sxm
  backend: vllm
  workers:
    aggregated: {}
aisim predict --config prediction.yaml --output-dir ./prediction

The CLI prints a serving summary and writes the full report to prediction/prediction.json. Prediction uses the built-in engine stack by default; --stack dynamo selects a separately installed compatible Dynamo runner.

Search for a deployment

Save the following as recommendation.yaml:

traffic:
  source: {type: synthetic, input_tokens: 1024, output_tokens: 128}
  load: {type: concurrency, concurrency: 10}
  stop: {requests: 100}

engine:
  mode: aggregated
  model: Qwen/Qwen3-32B-FP8
  hardware: auto
  backend: {choices: [vllm, sglang]}
  workers:
    aggregated:
      parallelism: {preset: default}

optimization:
  target: throughput_per_gpu
  hardware: h200_sxm
  constraints:
    max_candidate_gpus: 8

optimizer:
  max_trials: 8
aisim recommend --config recommendation.yaml --output-dir ./recommendation

This quickstart evaluates suggestions for the explicit 1,024-input/128-output-token, 10-concurrent-request workload above, with an eight-trial budget.

Inspect recommendation/recommendation.json for search results and recommendation/recommendations/ for concrete prediction YAML files to replay. The CLI guide covers workload inputs, latency constraints, and detailed output. To create deployment manifests and launch scripts, use the bundled compatibility CLI or generator SDK; see the deployment generation guide.

Documentation and coverage

Estimator coverage is separate from serving-accuracy and deployment validation. Use the published evidence for your workload and verify deployment choices with real benchmarks.

Legacy CLI compatibility

The wheel provides the legacy aiconfigurator command through AISim 0.13.0. Removal is targeted for AISim 0.14.0, after every remaining workflow has a verified replacement in the unified CLI. Use aisim for new prediction and recommendation workflows. The migration guide explains replacements and remaining differences; the legacy CLI guide documents retained commands.

The canonical Python imports are aisim and aisim_core. AISim 0.13.0 removes the aiconfigurator and aiconfigurator_core import namespaces; see the Python source migration guide for replacement imports. The legacy executable remains available as described above.

When upgrading from standalone AIConfigurator, remove the old distributions first so that AISim owns the installed files:

python3 -m pip uninstall -y aiconfigurator aiconfigurator-core aisim
python3 -m pip install --upgrade aisim

Metadata

Release files for aisim 0.15.0.dev202611130000000104

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

Source distribution (sdist)

Source distribution for aisim 0.15.0.dev202611130000000104
File Size Uploaded Provenance Actions
aisim-0.15.0.dev202611130000000104.tar.gz 49.8 kB Without provenance Details for aisim-0.15.0.dev202611130000000104.tar.gz

Release files / aisim-0.15.0.dev202611130000000104.tar.gz

Download URL aisim-0.15.0.dev202611130000000104.tar.gz
Size 49.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2362d9e4e392acbfd43dcf164ff5542b57ed436e7480511e4e1be75c188ea821
BLAKE2b-256 checksum
How to use checksums
70be889e158779a90ddb2ad5ac180eaf35bd6f26a518400e41ecd47548223178
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for aisim 0.15.0.dev202611130000000104

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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