Skip to content

Remove Dexsuite Newton RL sample workflow - #1666

Merged
qianl-nv merged 1 commit into
mainfrom
qianl/refactor/remove-dexsuite-newton-rl-sample
Nov 12, 2026
Merged

qianl-nv merged 1 commit into
mainfrom
qianl/refactor/remove-dexsuite-newton-rl-sample

Conversation

@qianl-nv

@qianl-nv qianl-nv commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Remove the Dexsuite Kuka-Allegro Newton RL evaluation sample and its workflow documentation.

Why this change?

The Dexsuite lift sample was added in v0.2 as the only Newton example. We have added two more meaningful Newton example in v0.4 now. Retiring it reduces SQA and docs maintenance.

What changes?

  • Remove dexsuite_lift, DexsuiteLiftTask, and the Arena Kuka-Allegro
    embodiment.
  • Remove Dexsuite workflow docs, catalog entry, policy config, and tests.
  • Drop the RL workflows index link to Dexsuite.

Drop the Kuka-Allegro lift evaluation environment, embodiment, task
class, policy config, and workflow docs so maintenance focuses on the
maintained Franka lift_object RL path.

Signed-off-by: Qian Lin <[email protected]>
@greptile-apps

greptile-apps Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Retires the Dexsuite Kuka-Allegro Newton evaluation sample.

  • The Dexsuite lift sample is no longer available in Arena.
  • Arena’s example pages drop Dexsuite and point to gear insertion.

No actionable issues found. Checked remaining references, registration paths, and CI test selection. Tests were not run.

Reviews (3) · Last reviewed commit: "Remove Dexsuite Newton RL sample workflo..." · Reviewed by Greptile

@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

This PR removes the Dexsuite Kuka-Allegro Newton RL sample. That covers the dexsuite_lift environment, DexsuiteLiftTask, the kuka_allegro embodiment, the policy YAML, both tests, the docs pages and the GIF. The removal is complete and the remaining code is consistent. The physics_backend_selection.rst example now uses gear_insertion, which does default to Newton. I have one small question about a leftover asset and one note on test coverage. Neither blocks merging.

Findings

🔵 Improvement: isaaclab_arena/assets/object_library.py:2048: procedural_cube no longer has a user

ProceduralCube was added in #536 together with this sample. After this PR, no environment, example or doc uses it. The only remaining reference is test_asset_catalogue_withholds_procedural_assets (isaaclab_arena/tests/test_environment_generation_agent.py:432), which only checks that the cube is registered and hidden from the agent catalogue. Its defaults (name="object", prim path {ENV_REGEX_NS}/Object) match what the removed Kuka-Allegro contact sensors filtered on. Should it be removed with the rest of the sample, along with its two assertions in that test? procedural_table is still used by test_deformable_object.py, so it should stay.

Test Coverage and CI Cost

The PR description says Dexsuite added no coverage beyond lift_object. However, test_dexsuite_lift_published_checkpoint was the only test that ran an RSL-RL policy under Newton. test_rsl_rl.py exercises lift_object on PhysX only, and test_policy_runner.py and test_policy_cfgs.py never select Newton. After this PR, no test covers --policy_type rsl_rl with Newton. If that combination should keep working, is it meant to be covered somewhere else? If leaving it untested is a deliberate trade-off, consider saying so in the PR description.

At review time, Pre-commit and the other CI checks for this head were still queued, so I couldn't confirm they pass.

Verdict

Ship it

@alexmillane alexmillane left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qianl-nv
qianl-nv merged commit 400f83e into main Nov 12, 2026
11 checks passed
@qianl-nv
qianl-nv deleted the qianl/refactor/remove-dexsuite-newton-rl-sample branch November 12, 2026 13:44
cvolkcvolk added a commit that referenced this pull request Nov 19, 2026
Update the Franka Lift Object RL evaluation tutorial to run
`experiment_runner.py` with two new Experiment YAMLs instead of
`policy_runner.py` and an inline JSON config. Replaces the RL part of
#1465; its Dexsuite part is obsolete since #1666 removed that workflow.

## Why this change?

The page evaluated checkpoints with `policy_runner.py`, which is being
deprecated. Its batch evaluation had readers write `eval_config.json`
and pass it with `--eval_jobs_config`, and JSON Experiment loading is
about to be removed. This is the last docs page that uses a JSON
Experiment.

## What changes?

- Add `lift_object_rsl_rl_experiment.yaml`, one Run for single and
parallel evaluation. Parallel evaluation overrides `num_envs`,
`env_spacing` and `num_episodes` on the command line.
- Add `lift_object_rsl_rl_checkpoints_experiment.yaml`, one Run per
checkpoint, to replace `eval_config.json`.
- Both YAMLs read the pre-trained checkpoints from
`$MODELS_DIR/lift_object_checkpoint/`, the folder the page downloads to.
When `MODELS_DIR` is unset, they fall back to the page's default folder.
Readers who trained their own policy override `checkpoint_path`.
- The sample outputs show what the documented commands print for the
pre-trained download.
- The `RslRlActionPolicy` docstring shows a YAML Run instead of a JSON
job.

## Validation

Locally in the Arena container, with the checkpoints downloaded as the
page describes:

- Method 1, 20 episodes: success rate 1.0000.
- Method 2, 64 envs and 1024 episodes: 1.0000.
- Method 3, 1024 episodes per checkpoint: 0.9697 for `model_1000.pt`,
1.0000 for `model_1999.pt`.
- Both YAMLs compose with `MODELS_DIR` set to another folder and with it
unset, and the `checkpoint_path` override on the page replaces the
default path. Method 1 also ran with `MODELS_DIR` set.
- The docs build passes with `-W`.

The runs were headless; `--viz kit` was not tried.

---------

Signed-off-by: Clemens Volk <[email protected]>
cvolkcvolk pushed a commit that referenced this pull request Nov 20, 2026
Bring Peter's bimanual YAM cable-routing prototype onto current main:
the BimanualYamEmbodiment, CableRoutingTask with its winding-based
success check, and the yam_cable_routing environment with coupled
MJWarp and VBD Newton physics.

Conflict resolution keeps main's Cable asset (#1204), main's physics
backend selection in ArenaEnvBuilder and IsaacLabArenaEnvironment, and
drops the kuka_allegro import removed in #1666. The environment still
uses APIs that changed on main; the following commits port it.

(cherry picked from commit e567347)
Signed-off-by: Clemens Volk <[email protected]>
cvolkcvolk pushed a commit that referenced this pull request Nov 20, 2026
Bring Peter's bimanual YAM cable-routing prototype onto current main:
the BimanualYamEmbodiment, CableRoutingTask with its winding-based
success check, and the yam_cable_routing environment with coupled
MJWarp and VBD Newton physics.

Conflict resolution keeps main's Cable asset (#1204), main's physics
backend selection in ArenaEnvBuilder and IsaacLabArenaEnvironment, and
drops the kuka_allegro import removed in #1666. The environment still
uses APIs that changed on main; the following commits port it.

(cherry picked from commit e567347)
Signed-off-by: Clemens Volk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants