SKILL.md
Vllm Async Loading Debug
Overview
Trace the async KV loading path between vLLM scheduler and worker connectors, including prefetch and preemption edges.
Workflow
1) Confirm async-load symptom
- Record request IDs and statuses:
WAITING,RUNNING,WAITINGFORREMOTE_KVS,PREEMPTED. - Check async-load logs and whether prefetch is in progress.
2) Follow scheduler-side decisions
python/pegaflow/connector/scheduler.py: prefetch query +LoadIntentcreation..project-plans/scheduler.py(private):loadkvasyncgating andWAITINGFORREMOTE_KVStransitions.
3) Follow worker-side lifecycle
python/pegaflow/connector/worker.py:startloadkv()callsengine_client.load()and tracksPyLoadState.getfinished()pollsisready()and emitsfinished_recving.
4) Check preemption and retries
.project-plans/scheduler.py(private):preemptrequest()andresetprefixcache()behavior.invalidblockidshandling can trigger recompute or failure based onkvloadfailure_policy.
Reference Files
- Read
references/async-loading.mdfor full call flow and log markers.