Repository navigation
Commit c0a0ca3
committed
[None][fix] trtllm_modeling_v2: queue revise and rebase turns' jobs at the tuner priority
The tune campaign measures one candidate at a time at priority PERF
(-1), and a tuner's own jobs are meant to queue below it at TUNER (-2).
Negative priorities never age, so a job at the scheduler's default
priority 0 always ranks ahead of the campaign's measurement and holds
back every candidate behind it. The new-candidate and split requests
and the speed-of-light profiling step tell the tuner to pass
--priority; the revise and rebase requests and the turn prompt's
operating rules show spoolctl launch without it, so those turns' tests
and A/B jobs queue at 0. In a long campaign most late turns are
rebases.
On an earlier revision of the harness, where no tuner job carried a
priority class, the serial measurement was seen waiting for hours
behind tuner jobs at the default priority. On main, the revise and
rebase turns are the remaining gap.
The revise and rebase requests and the turn prompt shared by every
tuner turn now give the --priority TUNER flag.
Signed-off-by: Ruocheng Jia <ruochengj@nvidia.com>1 parent c388c69 commit c0a0ca3
2 files changed
Lines changed: 43 additions & 9 deletions
File tree
- agent-flow
- agent_flow/workflows/trtllm_modeling_v2/tune
- tests/workflows/trtllm_modeling_v2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
271 | 273 | | |
272 | 274 | | |
273 | 275 | | |
| |||
301 | 303 | | |
302 | 304 | | |
303 | 305 | | |
304 | | - | |
305 | | - | |
| 306 | + | |
| 307 | + | |
306 | 308 | | |
307 | 309 | | |
308 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
0 commit comments