executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
client-inferenceUse Petals client APIs for distributed model loading, generation, inference sessions, routing, retries, and swarm selection.
Independent GitHub snapshot · Automated classification · Original documentation governs
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.