Skip to content

Commit 1f37795

Browse files
committed
Doc: AWS readme
1 parent 2c04d54 commit 1f37795

1 file changed

Lines changed: 40 additions & 2 deletions

File tree

aws/README.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@
22

33
## Usage
44

5+
> [!WARNING]
6+
> Everything needs to be committed & pushed to the repo! You can use a different branch than main for this.
7+
8+
> [!NOTE]
9+
> Most scripts should now have the region default hardcoded, but if things mysterously don't exist, your region or account might not be set up correctly.
10+
11+
### Submit batch jobs
12+
13+
Create a text file that contains the names of the config files you want to run, one per line.
14+
For example:
15+
16+
```
17+
HuskyBench__claude-sonnet-4-20250514__claude-sonnet-4-5-20250929__r15__s100.yaml
18+
HuskyBench__claude-sonnet-4-20250514__gemini-2.5-pro__r15__s100.yaml
19+
HuskyBench__claude-sonnet-4-20250514__gpt-5-mini__r15__s100.yaml
20+
```
21+
22+
If you want to run things multiple times, just duplicate the lines.
23+
24+
Then run:
25+
26+
```bash
27+
python batch_submit.py configs/to_run.txt
28+
```
29+
30+
If the configs are not in `configs/main`, you can use the `--config-dir` flag to specify a different directory.
31+
32+
### Submit single jobs or anything else
33+
534
```bash
635
# Hello world example
736
aws/run_job.py --show-logs -- echo "hello world"
@@ -12,8 +41,17 @@ aws/run_job.py --show-logs -- echo "hello world"
1241
aws/run_job.py --show-logs -- aws/docker_and_sync.sh python main.py configs/test/battlesnake_pvp_test.yaml
1342
```
1443

15-
> [!WARNING]
16-
> Everything needs to be committed & pushed to the repo! You can use a different branch than main for this.
44+
## Once jobs are running
45+
46+
Head to https://emagedoc.xyz/batch for the monitor.
47+
48+
Note: For all features to work (link to s3 folder, viewer, etc.), you need to have the logs synced.
49+
Without the logs you will only see job status, runtime etc.
50+
51+
### Taking actions
52+
53+
* Select runs that might have problems and click "Bulk actions"
54+
* This is a generator for commands to take actions on the runs (e.g., terminate, remove S3 folder etc.)
1755

1856
## Setup
1957

0 commit comments

Comments
 (0)