计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
inference-and-serving【效率与协作】Use Megatron-LM offline inference, high-level LLM APIs, coordinator mode, and serving command templates.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user asks for Megatron offline generation, dynamic/static inference, high-level MegatronLLM / MegatronAsyncLLM, coordinator mode, OpenAI-compatible serving, or text-generation server troubleshooting.
| Task | Action |
|---|---|
| Batch/offline generation | Choose sync direct vs coordinator vs async; render an offline command template. |
| Start HTTP/OpenAI-compatible server | Use coordinator mode and server template; confirm ports and frontend replicas. |
| Use Python high-level API | Read API reference for MegatronLLM, MegatronAsyncLLM, ServeConfig, and SamplingParams. |
| Debug checkpoint/tokenizer load | Route checkpoint-format issues to checkpointing, then return to inference context limits. |
| Compare legacy tools vs high-level API | Prefer high-level API for new usage; keep legacy server flags only when needed. |
--help/dry command rendering first.