Skip to main content
A Miles training job is a loop over four objects. Once you understand what each one is and how data flows between them, every flag in the system has an obvious home.

The four objects

The training loop

That’s the whole thing. Every flag in Miles configures one of these four steps.

The four-knob invariant

Two knobs govern the sampling half of the loop, two govern the training half, and they are locked into a single equation:
Every sample produced by rollout is consumed by training, and every sample consumed by training was produced by rollout. Set any three sides; Miles fills in the fourth. Set all four inconsistently and Miles aborts with a validation error.

Where every flag goes

Use this map when reading any launch script:

Next