Parse Sacred configuration as the nested structure it is: run config JSON nests observer settings inside the run document, so read the config through the run schema or a JSON path into the observer block instead of expecting flat keys. Use when an agent workflow extracting configuration from stored Sacred runs. Not fo…
Create the association the promotion requires before promoting: a SageMaker trial component can only be promoted through its pipeline or model association, so link the trial component to the model package or the pipeline execution first, then promote through that path. Use when an agent workflow promoting experiment r…
Stop the other process before blaming corruption: Aim repositories allow one writer at a time, so find the process holding the repo lock, confirm it is finished or stuck, and only open the repo again once the lock is released. Use when an Aim repository used by training runs and queried from scripts or the Aim UI. Not…
Separate the streams before parsing: Azure ML run history JSONL mixes system log lines with metric records, so filter lines by their record type or source field, or read the metrics through the run API instead of the raw history file. Use when an agent workflow extracting metrics from Azure ML run history files. Not f…
Rebuild the grouping from the current params location: DVC experiments stopped grouping by the params file after it was renamed, so update the grouping to read params from the new file and key, or group by the parameter values recorded in each experiment. Use when an agent workflow grouping or joining DVC experiments …
Diff parameters by group, not all at once: 300 sweep trials carry thousands of parameter values, so compute the parameter diff with a script into a compact table of values that actually vary, and give the agent only the varying parameters. Use when an agent workflow analysing sweep trial parameters and results. Not fo…
Refresh before the sync, and make the sync retry once on expiry: the Comet offline sync failed on an expired credential, so re-authenticate at sync start, and if expiry still lands mid-sync, refresh and resume the remaining runs instead of abandoning the batch. Use when an agent workflow syncing offline Comet experime…
Fix name resolution for the W&B host before retrying the sync: wandb cannot resolve its host in online mode, so check DNS from the run machine, correct any stale hosts entry or proxy setting, and sync again once the host resolves. Use when a Weights and Biases client in online mode on a training machine or cluster nod…
Release the repo lock before fetching: the agent failed to parse Aim query results because the underlying fetch hit the locked repo, so coordinate reads with the writing process, or read from a snapshot copy of the repo for analysis. Use when an agent workflow analysing Aim runs while training jobs write to the same r…
Resample every run onto a common step grid before charting: runs that log at different frequencies cannot share an axis honestly, so interpolate or aggregate each run to the same steps and chart the aligned series. Use when an experiment comparison workflow charting metrics across runs from different frameworks or set…
Configure the checkpoint storage before launching: Determined AI refuses to start the experiment because its checkpoint storage has no bucket, so set the checkpoint storage configuration for the cluster or the experiment, pointing at a bucket the master can write to. Use when a Determined AI deployment using object st…
Rename or reuse deliberately: a SageMaker trial component with that name already exists in the trial, so either attach the new work to the existing component or generate a unique component name per attempt. Use when a SageMaker Experiments trial receiving trial components from a training or processing job. Not for a n…
Summarise runs in groups, never as one prompt: a full sweep of Guild runs overflows the context, so aggregate run metrics with a script into a per-configuration table, and give the agent the table plus the few runs worth individual reading. Use when an agent workflow summarising Guild AI sweep results. Not for a small…
Page the listing and checkpoint progress: listing ClearML tasks across 20 projects in one call times out, so query per project with pagination, persist the results per project, and let the agent resume from the last finished project. Use when an agent workflow auditing or cleaning up ClearML tasks across many projects…
Export in pages and expect the limit: the Comet API rate limit stopped the export mid download, so request logs in paged chunks, store each chunk before requesting the next, and resume the export from the last stored chunk after a limit pause. Use when an agent workflow exporting Comet experiments and their logs for a…
Point the sync job at the directory the runs actually wrote to: offline runs never sync because the sync process scans a different log directory than the training jobs use, so align the run directory setting across training and sync, then run the sync over the backlog. Use when a Weights and Biases or similar offline …
Decide whether to resume or to start clean, then set the flag to match: dvclive refuses to overwrite an existing metrics file when resume is false, so rerun with resume enabled to continue the run, or remove the stale dvclive directory to start a genuinely new run. Use when a dvclive instrumented training script rerun…
Download artifacts in parts with a resumable plan: Vertex AI experiment artifacts are large and the agent download timed out as one operation, so list the artifacts, download them one at a time to durable storage, and verify each before continuing. Use when an agent workflow collecting Vertex AI experiment artifacts f…
Fix the metric direction in the tracker configuration, then re-pick the best checkpoint: the checkpoint marked best has worse validation loss because higher-is-better was applied to a loss, so correct the goal direction and rescan the run checkpoints. Use when an experiment workflow using automatic best checkpoint sel…
Make the artifact store writable by the identity the task runs as: ClearML artifact upload fails when the storage URI points at a location the task credentials cannot write, so test a write to that exact URI with the task identity and fix the path or the permissions. Use when a ClearML task uploading artifacts to a fi…
Fix the remote upload path, starting with which file failed: DVC push uploads cache files to the remote, so identify the failing object, test a write to the remote with the same credentials, and repair the remote configuration or the permissions rather than the experiment. Use when a DVC remote on S3 used by an experi…
Fix the observer connection, because the run itself already failed to be stored: Sacred records runs through its database observer, so check the observer database is reachable and accepting writes, then rerun, since an unstored run cannot be recovered after the fact. Use when a Sacred experiment configured with a Mong…
Move the registry to a database backed store: the MLflow model registry does not work on a plain file store, so run the tracking server with a database backend store, migrate the existing runs, and point the registry operations at that server. Use when an MLflow setup using a local file store that now needs the model …
Compare runs at equal training progress, not by their logged summaries: the selector picks the shortest run because early stopped runs carry fewer steps and their last or best metric is not comparable, so rank runs by metric at a fixed step budget or require a minimum step count. Use when an experiment workflow select…
Look for the run in the right namespace and pipeline: Kubeflow run lookups are scoped, so confirm the experiment name, the namespace, and the pipeline run id belong together before concluding the run is gone. Use when a Kubeflow Pipelines deployment where runs are organised by experiment and namespace. Not for a run t…