AISim DGD Output Adapter Configuration
Fields, selection rules, and artifacts for recommend —output dgd
NVIDIA Dynamo registers dgd in the aisim.output_adapters entry-point group. Use it with
aisimulate recommend --output dgd to render selected recommendations as
DynamoGraphDeployment (DGD) resources. For a complete workflow, see
Generate a DGD with AISim.
Experimental. The CLI and output-adapter contracts may change without a standard deprecation period.
Configuration Fields
The adapter consumes the top-level dgd mapping after AISim applies --set overrides.
Requesting --output dgd requires that mapping. Unknown keys are rejected.
Output destinations are relative to the CLI --output-dir, not the input file’s directory.
For Pareto results, the selected destination must contain {index}. Scalar results reject it.
The adapter substitutes zero-based indices formatted as 000, 001, and so on.
Valid and Invalid Forms
A scalar manifest configuration:
An independent Kustomize bundle for each Pareto result:
The following is invalid because output_file is forbidden for Kustomize output:
For a custom image, declare its actual Dynamo version separately:
The override controls version-dependent generation; it does not change the image’s contents or select a different backend version for simulation.
Selection and Artifacts
AISim owns simulation, search, ranking, and final candidate selection. Dynamo owns the
conversion of those selected candidates into DGDs. --stack engine|dynamo selects simulation;
--output dgd independently enables generation. Neither option substitutes for the other.
For scalar results, the adapter renders one final selected winner. For Pareto results, it renders all final selected candidates. If no candidate is selected, generation fails without producing a deployment. The adapter does not publish intermediate incumbents or apply resources to a cluster.
Manifest output writes one YAML file per selected candidate. Kustomize output writes one directory
per candidate, containing deploy.yaml and a kustomization.yaml that references it.
The adapter also writes index.json in the CLI output directory:
The index uses output: dgd for manifest output and output: kustomize for bundles. Artifact paths
are relative to the CLI output directory. AISim’s recommendation.json,
recommendation.csv, and selected prediction configurations under recommendations/ remain
separate from this index.
Compatibility and Limits
- The adapter supports candidates for vLLM, SGLang, and TensorRT-LLM. Every candidate must carry a nonempty backend version. Match the runtime image to the selected backend and its evaluated configuration.
- Omitting
--output dgdkeeps the recommendation-only workflow. Remove the adapter-owneddgdmapping when running without that output adapter. - Only the public recommendation input uses
engine.model. Adapter fields such asnameandoutput_filedo not select a model. - DGD generation currently supports a Router
prefill_load_model.typeofnone; other types fail materialization. - The output configuration has no fields for arbitrary DGD overrides, model-cache PVCs, tolerations, or trust-remote-code settings. Inspect and customize generated resources for those deployment requirements before applying them.
The implementation sources are the adapter configuration and selection logic and shared rendering rules.