Skip to content

Container execution

Each trial runs your image with one set of parameter values. HyperOptimizer handles scheduling and result collection; the image provides the program, dependencies, and evaluation logic.

The platform supplies container arguments while preserving the image’s ENTRYPOINT. These arguments replace CMD. Without a custom template, the arguments are fixedArgs followed by --hpo-<slug>=<value> flags. A custom template supplies the complete argument list instead.

For an image with ENTRYPOINT ["python", "-u", "main.py"], the final process can look like:

python -u main.py --hpo-learning-rate=0.01

See build a trial image and accept parameters for command examples.

Starter and Pro use images in the organization’s registry; Enterprise can allow external images. Publish the image before selecting it in the dashboard, or use the CLI build path.

Files on your computer are not automatically available in cloud trials. Include required data in the image or configure runtime access. Supply secrets through environment variables and keep them out of the image and logs.

Every trial receives these platform variables:

HYPEROPTIMIZER_TRIAL_ID
HYPEROPTIMIZER_EXPERIMENT_ID
HYPEROPTIMIZER_ORG_ID

Custom environment variables cannot use the HYPEROPTIMIZER_ prefix.

Treat containers as isolated runs. Their local files are not a shared or durable results store. If you write to external storage, use paths that include the trial ID so concurrent trials do not overwrite each other.

Experiment parallelism and workspace capacity both apply. More parallel trials cannot learn from each other’s results until those evaluations finish.

Your program prints metric lines to stdout, logs diagnostic context, and exits. A usable result needs a successful trial and all configured numeric objectives. Writing a local output file alone does not report a metric or automatically preserve that file in the dashboard.

A failed, cancelled, or interrupted execution still consumes compute for its confirmed runtime. See trial states and compute usage.