Monitor Experiment

Monitor Beaker experiments until completion. Use when the user asks to monitor, check, or track a Beaker experiment. Use when this capability is needed.

tomevault-io 5049d2b 2 files · 1.8 KB Updated

File contents

Monitor Beaker Experiment

Instructions

When monitoring a Beaker experiment:

  1. Get the experiment status using beaker experiment get <experiment-id>
  2. Check if the experiment has completed by looking at status.exited
  3. If still running, wait 30 seconds and check again
  4. When complete:
    • If exitCode is 0: Report success
    • If exitCode is non-zero: Fetch and display logs with beaker experiment logs <experiment-id>
  5. Continue monitoring until the experiment finishes or the user asks you to stop

Examples

Check experiment status:

beaker experiment get 01KCW39T5JBZTYV69BXHWJJ83P

Get experiment logs on failure:

beaker experiment logs 01KCW39T5JBZTYV69BXHWJJ83P

Stream logs in real-time for running experiments:

beaker experiment logs --follow 01KCW39T5JBZTYV69BXHWJJ83P

Source: allenai/open-instruct — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/allenai--open-instruct--open-instruct commit 5049d2ba54

Frequently asked questions

npx skillmds@latest add tomevault-io/monitor-experiment