Skip to main content

isaaclab-training-rl-agents

Configures and runs Isaac Lab reinforcement learning workflows. Use when selecting RL frameworks, wiring agent configs, launching training, resuming runs, or troubleshooting training setup for Isaac Lab tasks.

معلومات المصدر

المستودع
isaac-sim/IsaacLab
آخر نشاط في المصدر
١ أكتوبر ٢٠٢٦ في ٢٢:٣١
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٨٬٣١٦
التفرعات
٣٬٩٤٣

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
3 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
isaaclab-training-rl-agents
description
Configures and runs Isaac Lab reinforcement learning workflows. Use when selecting RL frameworks, wiring agent configs, launching training, resuming runs, or troubleshooting training setup for Isaac Lab tasks.
audience
user
status
experimental
owners
["isaaclab-maintainers"]
# Training RL Agents ## When To Use Use this skill when a user wants to train, resume, evaluate, or configure reinforcement learning for an Isaac Lab task. Do not use this skill to design environment observations, rewards, or resets from scratch. Use `isaaclab-building-environments` (`skills/user/create-environments/`) for environment construction first, and use `isaaclab-debugging-rl-training` when training behavior or reward metrics are already failing. Use `isaaclab-training-multi-gpu` for multi-GPU or multi-node launches and for distributed runs that hang or fail inside NCCL. ## Workflow 1. Identify the registered task name, workflow type, action space, observation space, target backend, device, and desired RL framework. 2. Read the RL training guide and the training tutorial before writing commands or configs. 3. Start from an existing agent config under `source/isaaclab_tasks/isaaclab_tasks/` that matches the framework and task family. 4. Keep framework-specific config formats separate. Do not mix RSL-RL Python configs with RL-Games, SKRL, or SB3 YAML/config files. 5. Use suffixless task names in commands, for example `Isaac-Cartpole`. 6. From the Isaac Lab checkout, use `uv run isaaclab train` and `uv run isaaclab play` rather than the deprecated per-library scripts under `scripts/reinforcement_learning/`. If `--rl_library` is omitted, the command loads the task's registered `default_agent`; pass `--rl_library` to select a different library. To drive train/play from Python instead, use the `train`/`play` functions with `TrainingRequest`/`PlaybackRequest` from `isaaclab_rl` (see [Examples](examples.md)). `play` applies the environment config's `play_mode()` method (caps environments at 50 and disables observation noise or corruption, depending on the workflow); override that method on a task config for custom playback. 7. Omit visualizer flags for fastest headless training. Use `--viz` only when an explicit visualizer is needed. 8. Run a small smoke training job before scaling environment count, horizon, network size, or logging integrations. 9. For visual observations, confirm the sensor pipeline and renderer requirements before enabling large environment counts. 10. For multi-backend tasks, validate training on one backend before introducing backend presets. 11. Record the exact task, framework, backend, seed, and config overrides needed to reproduce the result. ## Validation Use this checklist: 1. Confirm the task can reset and step without the training runner. 2. Confirm the selected agent config belongs to the intended RL framework. 3. Run a short training command with a small number of environments. 4. Resume or load a checkpoint only after the initial run writes expected artifacts. 5. Check logs for device, observation shape, action shape, and backend errors. For skill changes, run: ```bash uv run --no-project python tools/skills/cli.py check ``` ## Maintenance Keep this skill synchronized with `docs/source/concepts/reinforcement_learning.rst`, `docs/source/setup/installation/index.rst`, RL training tutorials under `docs/source/how-to/`, and agent configs under `source/isaaclab_tasks/isaaclab_tasks/`. If framework commands or config formats change, update the official training docs or maintained examples first. ## References - [Evaluations](evaluations.md) - [Examples](examples.md) - [Debug RL training skill](../debug-rl-training/SKILL.md) - [Multi-GPU training skill](../train-multi-gpu/SKILL.md) - [RL training guide](../../../docs/source/concepts/reinforcement_learning.rst) - [Configure RL training tutorial](../../../docs/source/how-to/configuring_rl_training.rst) - [Run RL training tutorial](../../../docs/source/how-to/run_rl_training.rst) - [Task examples](../../../source/isaaclab_tasks/isaaclab_tasks)
عرض على GitHub