Repository navigation
Handle unscored report epochs; update MLX 0.32.5, Inspect AI 0.3.292 and OpenAI SDK 3.59.0 - #3
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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.