Repository navigation
Commit 7a557f3
committed
[None][feat] trtllm_modeling_v2: stated disaggregated deployments and members wider than one node
The flow could gate neither a member wider than one node nor a disaggregated
deployment it had not been given a pytest for: boot, accuracy, serve and
acceptance start one engine with mpirun inside one node's job, and
accuracy.disagg names a test.
A member wider than environment.gpus_per_node is now one engine across the
nodes of one job, and accuracy.disagg can name the tree's own three files of a
deployment (the config of trtllm-serve disaggregated, a context and a
generation config), which the flow serves and scores through the proxy against
the floor the accuracy gate holds that unit to. The benchmark is the tree's own
trtllm-eval command of it, given a stand-in for its LLM that sends each prompt
to the proxy, as the tree's disaggregated accuracy test does; the gate reads
the score from the job's output with the accuracy gate's own judgement. The
test form of accuracy.disagg is unchanged.
A job that spans nodes states nodes=N lead=1 and is run once by the session's
lead: one more scheduler with no devices on the allocation's batch host, outside
the container. Each of its worlds is a step of the allocation (srun --overlap
--mpi=pmix, the counts and the hosts), entering the session's container with
the words the spec states in environment.step_args. A deployment that fits one
node needs neither: its job starts each server there as main starts an engine
on one node. session render writes the lead's entry and the session's
environment beside the entry.
Preflight says before any GPU job whether a gates session holds the nodes;
across nodes each rank's Triton cache and import record are on its own node.
Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>1 parent a879e61 commit 7a557f3
24 files changed
Lines changed: 2117 additions & 174 deletions
File tree
- agent-flow
- agent_flow/workflows/trtllm_modeling_v2
- agents/skills/trtllm-modeling-v2-features
- references
- checks
- harness
- infra/compute
- resolvehook
- run
- startup
- validation
- spec
- tests/workflows/trtllm_modeling_v2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
84 | 113 | | |
85 | 114 | | |
86 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | | - | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
259 | 274 | | |
260 | 275 | | |
261 | 276 | | |
| |||
266 | 281 | | |
267 | 282 | | |
268 | 283 | | |
269 | | - | |
| 284 | + | |
270 | 285 | | |
271 | 286 | | |
272 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
329 | 352 | | |
330 | | - | |
| 353 | + | |
331 | 354 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
| 355 | + | |
| 356 | + | |
340 | 357 | | |
341 | | - | |
| 358 | + | |
342 | 359 | | |
343 | | - | |
| 360 | + | |
344 | 361 | | |
345 | 362 | | |
346 | | - | |
347 | 363 | | |
348 | 364 | | |
349 | | - | |
| 365 | + | |
350 | 366 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
| 367 | + | |
| 368 | + | |
356 | 369 | | |
357 | | - | |
358 | | - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
359 | 374 | | |
360 | 375 | | |
361 | 376 | | |
| |||
401 | 416 | | |
402 | 417 | | |
403 | 418 | | |
| 419 | + | |
404 | 420 | | |
405 | 421 | | |
406 | 422 | | |
| |||
0 commit comments