Skip to content

simulo export

Export a trained policy to a portable ONNX bundle — Simulo converts it, checks it against the source PyTorch policy, and this downloads and unpacks it ready to verify on your own machine (POST /v1/jobs/{id}/exports). No arguments: the latest job’s best checkpoint.

usage: simulo export [-h] [--kind {best,latest}] [--model MODEL_ID] [--format {onnx}]
[--no-download] [--json] [-o DIR]
[job_id]
Argument Description
JOB_ID (optional) Job whose trained policy to export (default: the most recent job).
Option Description
--kind {best,latest} Which checkpoint to export (default: best — the highest-reward policy the run saw, which is the one you almost always want). Cannot be combined with –model. One of: best, latest.
--model MODEL_ID Export exactly this checkpoint (a model id from simulo models). It must belong to the job being exported. Cannot be combined with –kind.
--format {onnx} Portable format to export to (default: onnx). One of: onnx.
--no-download Request the export and report Simulo’s validation result, without downloading the bundle.
--json Print the export record and the unpacked bundle path as a JSON object instead of the human-readable report (automation-friendly). The exit code is unchanged.
-o, --output DIR Directory to unpack the bundle into (default: the current directory).