Troubleshooting
Start with the symptom you can observe. If a trial exists, inspect its status and logs before launching another experiment.
| Symptom | Go to |
|---|---|
| Image will not pull or starts with the wrong executable | Image and startup errors |
| Unknown or missing command-line argument | Argument errors |
| No metrics, or a successful process has missing objectives | Metric problems |
| Trial fails or times out | Runtime failures |
| No new trials are being created | Scheduling and compute |
| CLI cannot authenticate | CLI login |
| CLI lost the launch response | Launch recovery |
| Results are present but look wrong | Result checks |
Image and startup errors
Section titled “Image and startup errors”- Check that Container Images shows a ready registry and the selected repository/tag for your organization. Wait for provisioning before publishing.
- Starter and Pro use the organization registry. Publish there before selecting the image; arbitrary public images are not accepted on these plans.
- If the error treats
--hpo-...as an executable, your image probably has onlyCMD. Use an exec-formENTRYPOINT, or include the executable and script in the configured command. - If you see an executable format error, check the image platform. The documented build examples target
linux/amd64.
See publish an image and ENTRYPOINT and CMD.
Argument errors
Section titled “Argument errors”Match the parameter slug, flag mode, and parser. For default flags:
Parameter slug: learning-rateContainer flag: --hpo-learning-rate=0.01Python value: args.hpo_learning_rateIn plain mode, the flag is --learning-rate. A custom template must include every required parameter placeholder; it replaces the argument list and does not append omitted parameters automatically. See accept parameters.
No metrics or missing objectives
Section titled “No metrics or missing objectives”Check the raw output for a line such as:
hpo.metrics.loss=0.182- Match
lossexactly to the configured objective name, including case. - Print a finite JSON number, without quotes or trailing log text.
- Print to stdout, rather than only to a file.
- Flush output before exiting; use Python
-uorflush=True. - Confirm the program reached the metric calculation and exited successfully.
Normal logs or a text value may be visible even when no usable numeric objective was collected. If one objective is missing, printing the others is not enough. See metric output format.
Trial fails or times out
Section titled “Trial fails or times out”Reproduce the exact image and arguments locally. Check missing dependencies, dataset paths, credentials, and memory requirements. For timeouts, measure a representative run and adjust the machine size or runtime limit deliberately.
Publish a corrected image when code changes, then test a small search. See debug a trial.
New trials are not starting
Section titled “New trials are not starting”Read the reason on the experiment page, then check:
| Check | Action |
|---|---|
| Experiment paused or stopped | Resume when you intend to continue. |
| Maximum trials or failure budget reached | Review results or fix failed trials before increasing limits. |
| Experiment or workspace concurrency full | Wait for active work; capacity is shared across experiments. |
| Compute allowance unavailable | Check subscription/trial status and effective PAYG status in Billing. |
| Billing synchronization pending | Wait for it to finish and check the displayed reason again. |
| Renewal interruption | Wait for synchronization and shutdown, then resume manually. |
| Objective goals met or grid exhausted | Review the completed search before creating another experiment. |
See experiment controls and plans and compute usage. Creating replacement experiments does not bypass workspace or billing limits.
CLI authentication fails
Section titled “CLI authentication fails”Run hpo auth status to see the active credential source and API URL. If HPO_API_KEY is set, it overrides saved credentials, even when it is empty or invalid. Replace or unset it before relying on a browser login.
An expired or revoked key requires a new authorized credential. A missing scope requires a key with that permission. A network error does not by itself mean the key is invalid. See CLI authentication and CI.
CLI disconnected during launch
Section titled “CLI disconnected during launch”The CLI saves pending launch recovery state in .hpo/launch.json. Rerun the same hpo optimize command with unchanged configuration and required environment values to recover the original request. Check the dashboard before deleting recovery state.
After a confirmed launch, another hpo optimize creates a new experiment. To reconnect to existing work, use hpo watch <experiment-id> --project <project-id> instead. Ctrl+C detaches monitoring and leaves cloud work running.
Results look wrong
Section titled “Results look wrong”- Check maximize versus minimize and consistent metric units.
- Confirm received parameters change the intended computation.
- Keep dataset, seed, time window, and evaluation assumptions consistent.
- Check sample counts and warnings before trusting an unusually good score.
- For multiple objectives, compare each direction independently; there is no implicit overall winner.
Use read and compare results to decide what to test next.