Inspect-AI-Sicherheitsbewertungen mit MLflow nachverfolgen
Die neue Inspect-MLflow-Integration protokolliert Bewertungsläufe von Inspect AI automatisch in MLflow mit Metriken, Traces und Artefakten, ohne Codeänderungen.
We're excited to announce the inspect-mlflow integration, which brings MLflow tracking and tracing to Inspect AI evaluations.
AI safety evaluation frameworks produce log files. When a sample fails or a model scores differently across versions, debugging means opening JSON and reading through message histories, tool calls, and scoring events by hand. There's no experiment tracking across runs, no visual span tree showing what the model did at each step, and no way to compare two evaluations side by side.
inspect-mlflow fixes this. Install the package, set two environment variables, and every evaluation automatically logs hierarchical runs with metrics, execution traces with span-level visibility, and artifacts. No code changes needed.
What Gets Tracked
The tracking hook creates a parent MLflow run for each evaluation, with a nested child run for each task. Every task run captures the model name, dataset, solver configuration, and generation parameters as MLflow parameters. Per-sample scores log as step metrics so you can see accuracy trends across the dataset. Token usage is aggregated per model, and event counts capture total model calls and tool invocations. …