Skip to content

Handle unscored report epochs; update MLX 0.32.5, Inspect AI 0.3.292 and OpenAI SDK 3.59.0 - #3

Merged
Lumonopolis merged 1 commit into
mainfrom
bastet/modellab/selective-maintenance
Nov 30, 2026
Merged

Lumonopolis merged 1 commit into
mainfrom
bastet/modellab/selective-maintenance

Conversation

@Lumonopolis

Copy link
Copy Markdown
Owner

ModelLab reports counted Inspect unscored NaN values, poisoning aggregate results. Reports now preserve score reasons, omit unscored and excluded epochs, count zeroed failed attempts, and refuse infinite scores or logs with no finite scores. Regression tests cover real Inspect logs and CLI output.

Selectively update MLX and Metal to 0.32.5, Inspect AI to 0.3.292, and the OpenAI SDK to 3.59.0 for released correctness and reliability fixes. MLX-LM (0.32.2) and MLX-VLM (0.7.12) remain at their current versions.

Validation:

  • 249 of 252 tests passed across CPU and Apple Silicon GPU suites (only the 2 Hub download tests and 1 remote-host test skipped).
  • Guarded MLX 0.32.5 checks passed: memory/cache/wired limits, budget-kill enforcement, VLM fit and LoRA training, bit-exact checkpoint resume (with dropout and gradient accumulation), torn-checkpoint recovery, cross-version adapter loading, MoE 1-step LoRA fit, and local OpenAI-compatible serving.
  • All 13 report unit tests passed on Python 3.11; four staged Inspect 0.3.292 report integration cases passed; local SDK response/error-redaction and parser checks passed; rendered Markdown inspected at 1440px and 390px. Independent review found no actionable issues.

Note for users continuing existing checkpoints: MLX 0.32.5 changes half-precision attention backward gradients slightly (forward logits/loss matched in our check, while 1-step LoRA gradient norm shifted by ~0.18%). Retain the previous environment for any checkpoint that requires exact continuation.

What: Preserve score reasons, omit unscored/excluded epochs, retain zeroed
failed attempts, reject infinite scores and disable baselines for zeroed
scores. Add real-log regression coverage and documentation. Update only
MLX/MLX-Metal to 0.32.5, Inspect AI to 0.3.292 and OpenAI SDK to 3.59.0.

Why: Canonical Inspect NaN scores poisoned report means. Released upstream
fixes address Metal attention gradients, evaluation parsing/logging and
credentials exposed by SDK exceptions without a trainer migration.

Next: Run guarded real-model fit, memory and exact-resume checks before
promotion/deployment. Use a quiet window and retain old environments for
existing checkpoints that require exact continuation.

Risk: MLX kernels can change results; GPU and remote-host behavior remain
unverified. This is staged work only. CPU suite: 218 passed, 34 skipped;
four staged report integrations passed; Python 3.11 report units passed.
Independent review and rendered report checks passed. No live changes.

Ref: docs/evaluation.md; ml-explore/mlx#4910;
https://github.com/UKGovernmentBEIS/inspect_ai/releases/tag/0.3.292
@Lumonopolis
Lumonopolis merged commit 0272317 into main Nov 30, 2026
3 of 4 checks passed
@Lumonopolis
Lumonopolis deleted the bastet/modellab/selective-maintenance branch November 30, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant