Skip to content

Optimize any Docker workload

HyperOptimizer is not tied to trading or machine learning. Any containerized workload can be optimized if it accepts configurable parameters, runs a repeatable trial, and emits objective metrics.

Workload Tunable inputs Possible objectives
ML training Learning rate, batch size Validation loss, accuracy
Trading backtests Lookback, risk settings Return, drawdown
Simulations Scenario values, tolerances Error, measured outcome
Pipelines Chunk size, concurrency Throughput, runtime
Custom programs Algorithm-specific settings Any finite numeric score

For your existing image, run its normal entrypoint with the exact configured --hpo-* flags. Your program must run without interaction, print all objective metrics, and exit.

hpo.metrics.error=0.014
hpo.metrics.runtime_seconds=2.7

These are illustrative output lines. Your metrics must come from your actual computation. Specify error as minimize, and choose independent directions for other objectives. Missing metrics and nonfinite values must fail clearly.

Include your code and dependencies in Docker. Arrange reproducible data access. Publish to the workspace registry through CLI builds or manual publishing. Create a project and import the experiment TOML or configure the dashboard.

Review parameters, objectives, machine size, trial count, concurrency, and timeout. Validate first and explicitly launch when ready. Execution uses your current subscription or trial compute allowance; read billing.

Inspect one successful trial before increasing search size. Use debugging for argument errors, image failures, missing metrics, and runtime problems.