Parallel layout
check_parallel_layoutCall BEFORE a TP/PP/DP training launch: legality, per-stage table, predicted step slowdown, and a split predicted to be faster (predicted, not measured).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"micro_batch": "<micro_batch>",
"seq_len": "<seq_len>"
},
"name": "check_parallel_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cp | No | ||
| dp | No | ||
| ep | No | ||
| pp | No | ||
| tp | No | ||
| gpu | No | ||
| seq_len | Yes | ||
| schedule | No | ||
| grad_accum | No | ||
| model_path | No | File, zoo:<id>, hf:<org/name> | |
| zero_stage | No | ||
| micro_batch | Yes | ||
| global_batch | No | ||
| model_source | No | Optional: answer about model text passed inline (a .neurarch.json document or PyTorch source). | |
| virtual_stages | No | ||
| layers_per_stage | No | ||
| seq_len_histogram | No | ||
| activation_checkpointing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | Yes | ||
| legal | Yes | ||
| verdict | Yes | ||
| findings | Yes | ||
| predicted | Yes |