计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
torch-agent-training【效率与协作】Route and compose public single-agent PyTorch agents, models, memories, resources, trainers, and experiment controls in skrl 2.1.0.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route for a single-agent PyTorch skrl 2.1.0 workflow: choose an
algorithm, build its model-role dictionary, allocate rollout/replay memory,
configure preprocessors/noises/schedulers, select a trainer, and make a safe
train/evaluate/resume plan. Start with the bounded component check in
scripts/torch_ppo_components.py, then use
the references for the exact role keys and construction details.
../../references/framework-selection.md
and ../../references/troubleshooting.md
in the root skill before committing to a backend or trainer.references/algorithm-and-component-selection.md.
Match the policy distribution to the action space and use a deterministic
value/critic model where the table requires it.RandomMemory (when required), configuration, and agent
using references/workflow-and-api.md.
Keep memory_size and the agent's rollout/update settings consistent.SequentialTrainer for the normal loop, StepTrainer when the caller
owns each iteration, and ParallelTrainer only after checking its process,
pickling, shared-memory, and hardware constraints.references/troubleshooting.md.environment-integration
sibling.../../sub-skills/multi-agent-and-runner/SKILL.md.Before handing a workflow to a researcher, verify: torch and skrl import;
all model dictionary keys are exact; each model's input/output role is
compatible with the space; the memory device and environment count agree; the
trainer config has finite, intentional timesteps; logging/checkpoint paths
are explicitly chosen; and resume/evaluation uses an architecture-compatible
agent. A CPU smoke establishes import and CPU behavior only—it does not
prove CUDA or another accelerator.