Skip to content

Commit 5acc44b

Browse files
author
Moshe Kimhi
committed
Add lite presets for starting and evaluating minimal task suite
1 parent 578c5e9 commit 5acc44b

3 files changed

Lines changed: 51 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,14 @@ python -m src.start_task -a
200200
This will launch five task_workers each for `dbbench-std` and `os-std` tasks and automatically connect them
201201
to the controller on port 5000. **After executing this command, please allow approximately 1 minute for the task setup to complete.** If the terminal shows ".... 200 OK", you can open another terminal and follow step 4.
202202

203+
#### Lite preset (laptops / limited RAM)
204+
205+
If you want to start with minimal concurrency (1 worker per task), use the lite preset:
206+
207+
```bash
208+
python -m src.start_task -a --config configs/start_task_lite.yaml
209+
```
210+
203211
### Step 4. Start the assigner
204212

205213
This step is to actually start the tasks.
@@ -210,6 +218,12 @@ If everything is correctly configured so far, you can now initiate the task test
210218
python -m src.assigner
211219
```
212220

221+
If you started the task server with the lite preset, you can also run the lite evaluation preset:
222+
223+
```bash
224+
python -m src.assigner --config configs/assignments/lite.yaml
225+
```
226+
213227
## Next Steps
214228

215229
If you wish to launch more tasks or use other models, you can refer to the content

configs/assignments/lite.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Lite preset: evaluate only low-resource tasks with minimal concurrency.
2+
#
3+
# Usage:
4+
# python -m src.assigner --config configs/assignments/lite.yaml
5+
6+
import: definition.yaml
7+
8+
concurrency:
9+
task:
10+
dbbench-std: 1
11+
os-std: 1
12+
agent:
13+
gpt-3.5-turbo-0613: 1
14+
15+
assignments:
16+
- agent:
17+
- gpt-3.5-turbo-0613
18+
task:
19+
- dbbench-std
20+
- os-std
21+
22+
output: "outputs/{TIMESTAMP}"

configs/start_task_lite.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Lite preset: start only low-resource tasks.
2+
# Intended for laptops / limited RAM.
3+
#
4+
# Usage:
5+
# python -m src.start_task -a --config configs/start_task_lite.yaml
6+
#
7+
# You can still override tasks at runtime:
8+
# python -m src.start_task -a --config configs/start_task_lite.yaml -s dbbench-std 2 os-std 2
9+
10+
definition:
11+
import: tasks/task_assembly.yaml
12+
13+
start:
14+
dbbench-std: 1
15+
os-std: 1

0 commit comments

Comments
 (0)