QA: Make `make run-mic` easier to read and to target (#50652)
* Warn when MIC failures ran on a different environment than the baseline
After the summary, list failing contracts whose package versions differ
from the ones their baseline was recorded with. They still count as
failures; the warning flags numeric deltas that may be version drift
rather than regressions.
* Pin the MIC fleet to its latest revision (torch 2.15 baselines)
* Make MIC failure output readable
Show a dict mismatch from the runner as one line per differing key instead
of two full dicts, list each mismatched package on its own line, and keep
only the target names in the end-of-run environment warning.
* Keep MIC heartbeats out of the final log and space out the results
A heartbeat now redraws in place like the progress bar, so it no longer
stays above the first result, and blank lines separate the results from
the setup lines and the summary.
* Resolve MIC MODEL by model name and show the tmic command that runs
MODEL may now name a model the way it is spelled elsewhere (Wav2Vec2,
audio-flamingo-3): case and punctuation are ignored against directory
names, model types and config class names. A typo is not guessed; close
directory names are suggested instead. Before running, the equivalent
`tmic check` line is printed so it can be copied into a shell.
* Show the MIC rerun command only when the run fails
* Accept a pattern in MIC's MODEL to run every matching model
MODEL='qwen*' selects the contracts of every matching models/ directory.
The unknown-model error now explains both names and patterns.
* Warn that MIC targets without a baseline were only smoke-tested
A target with no reviewed baseline for this platform passes after it
loads and runs, without any output comparison. Name those targets after
the summary so a pass is not read as a checked result.
* Use + as the MIC MODEL wildcard
An unquoted * is expanded (or rejected) by the shell; + is not. MODEL=qwen+
now selects every qwen* model directory; * still works when quoted. Document
model names and patterns in the testing guide.
* Show elapsed time in the checker title instead of MIC heartbeat lines
The MIC heartbeat printed "... 16s in" lines into the output while a
contract loaded. The checker window's spinner title now carries a running
timer (for every checker), so MIC prints nothing while it waits.
* Color failing MIC results red in the terminal
checkers.py sets CHECKERS_COLOR=1 for its children when it shows them in
a terminal (and NO_COLOR is unset); check_mic then colors failing result
lines and the failed/errored summary counts red. CI and piped output stay
plain. The checker window resets the color after truncating a line.
* Pin the MIC fleet at 579cbed and require transformers-mic>=0.1.2
* Keep test_check_mic independent of the installed transformers-mic version
* Pin the MIC fleet at cf5fbd9: Canary fix and refreshed cpu-arm64 baselines