Trial command arguments
These arguments are passed to your trial container. For commands such as hpo login and hpo optimize on your computer, see the HPO CLI guide. The default trial-argument prefix is --hpo-.
Naming
Section titled “Naming”Use lowercase kebab-case slugs in the dashboard.
--hpo-learning-rate=0.003--hpo-batch-size=64--hpo-timeframe=5mThe hpo prefix keeps optimized parameters separate from your normal application flags.
Flag modes
Section titled “Flag modes”| Mode | Example | When to use |
|---|---|---|
hpo (default) |
--hpo-learning-rate=0.003 |
Recommended contract for new workloads |
plain |
--learning-rate=0.003 |
Existing entrypoints that already expect unprefixed flags |
A command template replaces the argument list and substitutes {{slug}} placeholders. It does not append parameters that are absent from the template. See CLI parameters.
Parser behavior
Section titled “Parser behavior”Many parsers convert dashes to underscores in code.
parser.add_argument("--hpo-learning-rate", type=float)args = parser.parse_args()
print(args.hpo_learning_rate)Examples
Section titled “Examples”| Argument | Type | Description |
|---|---|---|
--hpo-lookback-window |
whole number (int) |
Strategy or model window length. |
--hpo-risk-multiplier |
continuous (double) |
Numeric multiplier used in scoring or sizing logic. |
--hpo-timeframe |
fixed choice (categorical) |
Discrete option such as 1m, 5m, or 1h. |
--hpo-use-filter |
true/false | Feature flag represented as categorical true/false. |
Image arguments replace CMD while preserving ENTRYPOINT. See image command behavior and boolean parsing.