计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
modules-and-policies【效率与协作】Assemble TensorDict-native TorchRL modules, policies, recurrent actors, multi-agent models, and model-based policy wrappers.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task is about building or debugging TorchRL neural modules and policy wrappers: Actor, ProbabilisticActor, ValueOperator, QValueActor, SafeModule, SafeSequential, MLP, TanhNormal, MaskedCategorical, recurrent GRUModule/LSTMModule, set_recurrent_mode, multi-agent model modules, value normalization, world-model components, Decision Transformer wrappers, MCTS scores, or planners.
TensorSpec / Composite specs.is_init, and pad / scan / triton backend choices.MultiAgentMLP / MultiAgentConvNet and centralized/shared-parameter choices.step_mdp: use envs-and-transforms.objectives-and-training.collectors-and-replay.llm-vla-and-services.development-and-testing.Actor for deterministic observation -> action mappings.ProbabilisticActor for modules that first write distribution parameters, then sample/write actions.ValueOperator for state-value or state-action-value heads.QValueActor for discrete greedy policies over action_value tensors.SafeModule / SafeSequential when explicit spec projection or TensorDict sequencing is needed.is_init and hidden keys before trying training-time sequence batches.Run these after installing TorchRL. From this sub-skill directory:
python scripts/smoke_actor.py
python scripts/smoke_recurrent_actor.py
From another working directory, pass the actual local paths of this sub-skill's bundled scripts to Python.
The smoke scripts are CPU-only, deterministic, and assert TensorDict output keys/shapes. They do not depend on repository checkouts, simulator extras, Triton, CUDA, or external services.