计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
client-inference【效率与协作】Use Petals client APIs for distributed model loading, generation, inference sessions, routing, retries, and swarm selection.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill to write, debug, or adapt Petals client code for distributed text generation, model forward passes, sequence classification, speculative Llama generation, inference-session cache reuse, or route/retry controls.
server-swarms.prompt-tuning.distributed-blocks.benchmarks-maintenance.python scripts/client_smoke_check.py --pretty.Treat Petals classes as Transformers-compatible wrappers whose embeddings/heads run locally and transformer blocks run on remote servers. Make swarm choice explicit when reproducibility matters. When generating without an active session, pass exactly one of max_new_tokens or max_length; for interactive continuation, create one inference_session(max_length=...) large enough for the entire exchange.