TRAINSPOTTER

Sample HTML reports built from retained training captures and controlled input cases. Each card identifies its source and limits. Finding counts come from a fresh analysis at each build.

A change of metric scope is not training divergence

Controlled MLflow 3.17.1 logging only: twenty improving unqualified losses followed by twenty model/dataset losses. Native SQLite exposes both in one run aggregate. The report preserves every recorded value but cannot diagnose it as one training curve.

0 error0 warning0 info

One measured slowdown inside a native MLflow store

The MLflow 3.17.1 SDK replayed retained training measurements into a local SQLite store with eight separate runs. This report selects slow-training; its logged step is explicitly declared to count training updates. Replay does not run training again.

0 error1 warning0 info

A late loss drop is still late when logging is sparse

Controlled CPU PyTorch SGD on a scalar quadratic. This file retains step 0 and steps 900-1000 from one recorded run. Its first low reading is 90% through the logged training span, despite being the second CSV row.

0 error0 warning0 info

Constant gradient norms without any clipping

Controlled CPU PyTorch SGD on absolute error. No clipping function is called. The norm stays at 1 for all 100 updates; an otherwise identical clipped run has the same pre-clip norms. This history describes concentration, not its cause.

0 error0 warning1 info

Logging less often is not slower training

A controlled numerical training run recorded with the W&B SDK offline. The logger changes from every 4 updates to every 20. The report uses trainer/global_step to divide elapsed time by actual updates.

0 error0 warning0 info

A logging counter cannot measure training speed

The same SDK capture with its training counter removed. The timestamps and loss are unchanged; _step counts logging events. Per-training-step timing is unavailable.

0 error0 warning0 info

A measured delay with changing logging cadence

A second offline SDK capture deliberately adds a delay after update 200. The timing warning uses training updates, while the logger also changes frequency.

0 error1 warning0 info

A scheduler reset below its old peak

Controlled CPU PyTorch training: optimizer state is restored at step 200, but the scheduler counter is deliberately reset. The later rise never reaches the original peak. A log alone cannot tell this mistake from an intended restart.

0 error0 warning1 info

Training after evaluation ended

Derived from a controlled regression run on synthetic data: evaluation readings end at step 60; training readings start at 100. The evaluation rise is observed, but these disjoint intervals cannot support a contemporaneous training trend.

0 error1 warning0 info

Same model, different evaluation data

A frozen regression model alternates between all 128 evaluation examples and the 32 highest-loss examples. The swings come from deliberate cohort selection. Here step means evaluation pass, not optimizer update; the weights do not change.

1 error0 warning1 info

Baseline

Ordinary warmup + cosine-decay training on the full dataset. Nothing wrong with it.

0 error0 warning0 info

Divergence

320 healthy steps, then a simulated LR-schedule incident blows the run up.

1 error2 warning4 info

Overfitting

40 training examples, no regularization -- eval loss turns upward after step 125.

0 error1 warning0 info

Missing warmup

Learning rate jumps straight to its peak from step 0, no ramp-up.

0 error1 warning1 info

Throughput drop

A real, measured mid-run slowdown (an actual time.sleep, not a fabricated number).

0 error1 warning0 info

Real transformers.Trainer run

A genuine 2-layer GPT-2 trained via transformers.Trainer, not the numpy MLP.

0 error0 warning0 info

Timing without step counts

A measured training loop logs less often halfway through. Without step counts, the report explains why per-step speed is unavailable.

0 error0 warning0 info

Inspect a measured slowdown

A deliberate delay in a numerical training loop. Inspect the recorded source, actual step intervals and baseline/recent medians.

0 error1 warning0 info

A broken timing window

One timestamp in the same captured log was deliberately moved backwards. The timing comparison stays unavailable and shows the affected window.

0 error0 warning0 info