This document outlines the step-by-step process for running evaluation jobs on AWS Batch, handling failures, and promoting successful runs to stage.
- Choose the evaluation you want to run and the set of models to evaluate.
- Prepare the bash command to launch the AWS Batch job.
cd ~/your_development_path/inspect_evals_scoring
. .venv/bin/activate
export EVAL_TASK=inspect_evals/gaia_level3
export MODELS=\
openai/o3-mini,\
openai/o1-mini,\
openrouter/deepseek/deepseek-r1,\
openrouter/meta-llama/llama-3.3-70b-instruct,\
mistral/mistral-small-latest- Execute the command to start the AWS Batch job.
ies run aws --tasks="${EVAL_TASK}" --model="${MODELS}" --log-level=info --limit=20000 --summarize=true --request-memory 32- Monitor the job's status through the AWS console or CLI.
- Wait for the job to either succeed or fail.
-
Once the job finishes, export the run ID from the output:
# Completed all tasks in 's3://inspect-evals-dashboard/logs/working/2025-04-11-04-22-40-ffef8b5c/' successfully export RUN_ID=2025-04-11-04-22-40-ffef8b5c
-
If the job failed, check the logs:
ies status check-logs --run-id="${RUN_ID}"
- Review the errors in the logs.
- If errors are due to unsupported features (e.g., "model x can't use tools" or "model x can't accept images"), delete those logs from S3 and update the
$MODELSenvironment variable to exclude problematic models.
-
Restart the run with the previous command, appending the
--resume-run-idflag:ies run aws --tasks="${EVAL_TASK}" --model="${MODELS}" --log-level=info --limit=20000 --summarize=true --request-memory 32 --resume-run-id="${RUN_ID}"
- Repeat steps 4–8 until the job completes successfully.
-
If you did not already pass
--summarizein the initial command, summarize the run with:ies run summarize-run --run-id="${RUN_ID}"
-
Promote the successful run to stage:
ies promote promote-run-to-stage --run-id="${RUN_ID}"
Tip: Keep a record of your commands and RUN_IDs for traceability and easier troubleshooting.
To track the completed runs, you can use:
aws s3 ls s3://${S3_BUCKET_NAME}/logs/stage/ --recursive | sort -k 1 | grep dashboard