graph_lifecycle
Shows CUDA Graph lifecycle timeline for a process, identifying capture, instantiate, and launch sequences with timestamps and durations. Helps analyze graph activity patterns in torch.compile and vLLM workloads.
Instructions
Show CUDA Graph lifecycle timeline for a PID: capture → instantiate → launch sequences with timestamps and durations. Identifies graph activity patterns in torch.compile and vLLM workloads.
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": {
"pid": "<pid>"
},
"name": "graph_lifecycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process ID to query graph events for (required) | |
| tsc | No | telegraphic compression (default: true) | |
| since | No | Time range, e.g. 5m, 1h. Omit for saved DBs. |