Skip to content

Add PerfLab benchmark Experiments and test plan - #1595

Merged
alexmillane merged 7 commits into
mainfrom
cvolk/feature/perflab-benchmarks-main
Nov 6, 2026
Merged

alexmillane merged 7 commits into
mainfrom
cvolk/feature/perflab-benchmarks-main

Conversation

@alexmillane

@alexmillane alexmillane commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Add the PerfLab benchmark Experiments in isaaclab_arena_environments/performance/, and their test plan in the internal developer docs.

Replaces #1565 (merged into its base by mistake; review history is there). Stacked on #1594: merge that first.

Why this change?

The PerfLab Experiments and test plan from #1151 no longer run on main: the Python launcher, the Experiment fields and the timing files they use have all changed.

What changes?

  • Seven single-Run Experiments in performance/experiment_configs/: camera-free, production-camera, Pi0.5, Cosmos, GR00T, same-object and mixed-object. The object workloads share one scene in performance/scenes/ and differ only in their fruit list.
  • The test plan in docs/pages/development_team_internal/perflab_benchmarks.rst.
  • test_performance_benchmark_configs.py loads each Experiment with the plan's overrides and checks the result.

Validation

  • test_performance_benchmark_configs.py: 9 passed.
  • Camera-free, same-object, mixed-object, production-camera and Pi0.5 pass the plan's trial checks on CPU with 1 environment. Not run: on GPU, Cosmos and GR00T.

@arena-review-bot

Copy link
Copy Markdown
Contributor

The review stopped before it finished. Please run /review to retry.

@alexmillane
alexmillane added this pull request to stack #1596 November 4, 2026 16:02
@greptile-apps

greptile-apps Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge with no actionable issues found.

Summary

Adds seven single-Run PerfLab experiments, shared fruit workloads, configuration tests, and an internal operator guide.

  • Camera-free and camera-on runs show the cost of the DROID camera rig.
  • Pi0.5, Cosmos, and GR00T runs use their separate policy servers.
  • Fruit runs compare one repeated apple with ten ordered fruit assets.
  • PerfLab operators can run benchmark trials and check their timing results.

Reviews (1) · Last reviewed commit: "Load PerfLab Experiments with the standa..." · Reviewed by Greptile

Base automatically changed from alex/fix/typed_loader_external_envs to main November 4, 2026 17:22
@alexmillane
alexmillane force-pushed the cvolk/feature/perflab-benchmarks-main branch from ddc367f to 2e68733 Compare November 4, 2026 17:22
cvolkcvolk and others added 7 commits November 5, 2026 21:03
Port the PerfLab benchmark Experiments from the perflab-benchmarks
branch so they run on main:

- The same-object and mixed-object workloads use two environment
  YAMLs in the perflab folder instead of the object_set field the
  branch added to the Maple-table environment. Both use the
  stationary droid_rel_joint_pos embodiment and assign fruit to
  environments in list order.
- Drop the reduced-camera workload. Main replaced explicit camera
  dimensions with camera_resolution_mode, and its policy_default
  mode does not apply to the zero-action policy.
- Replace the provisional 10-step rollout with the 300 steps that
  every measured trial uses.

The tests check that every workload loads through the typed loader,
that the camera workloads keep the DROID rig's camera resolution,
and that the two object workloads differ only in their fruit list.

Signed-off-by: Clemens Volk <[email protected]>
Port the PerfLab test plan from the perflab-benchmarks branch to
main's runtime:

- Clone main instead of the benchmark branch.
- Run Python through ./submodules/IsaacLab/isaaclab.sh -p. Main's
  image installs Isaac Lab and Arena into a uv venv, so
  /isaac-sim/python.sh no longer finds them, and isaaclab.sh is not
  on PATH in shells attached with docker exec.
- Drop --rendering_mode, which Isaac Lab 3.0 removed. The runner
  rejects unknown flags, so the old commands fail at startup.
- Drop -g from the policy server commands. Main's server scripts
  always give the server container every GPU.
- Check trials with main's artifacts: arena_run_timings.json and the
  step, step/env_step and step/policy_inference timers, instead of
  arena_experiment_metadata.json and the rollout/* timers.
- State the R580 driver requirement of main's CUDA 13.0 PyTorch.

Signed-off-by: Clemens Volk <[email protected]>
Keep the PerfLab benchmarks in their own folder, named after what they
measure, instead of the shared experiment_configs folder:

- isaaclab_arena_environments/experiment_configs/perflab/ moves to
  isaaclab_arena_environments/performance/.
- README.md becomes perflab_benchmark_plan.md, which says what the
  file is.
- test_perflab_benchmark_configs.py becomes
  test_performance_benchmark_configs.py.

The plan's commands and the object Experiments' environment paths
point at the new folder.

Signed-off-by: Clemens Volk <[email protected]>
PerfLab is an internal tool, so its runbook belongs with the other
development-team guides rather than next to the Experiment configs:

- isaaclab_arena_environments/performance/perflab_benchmark_plan.md
  becomes docs/pages/development_team_internal/perflab_benchmarks.rst.
- The Development Team Internal index lists the new page.

The content is unchanged apart from the Markdown-to-RST conversion and
naming the config folder explicitly, since the guide no longer sits in it.

Signed-off-by: alex <[email protected]>
- Lay out isaaclab_arena_environments/performance/ like RoboLab: the
  Experiments move to experiment_configs/, the two fruit environments
  become tasks/same_object.yaml and tasks/mixed_object.yaml, and the
  scene they share moves to scenes/fruit_bowl_maple_table.yaml. The
  task files drop the empty params entries.
- Replace the config tests that restated YAML values with one
  parametrized test that loads each Experiment with the overrides the
  guide's commands pass, then checks its Run name, cameras and
  embodiment.
- State in the camera Experiments and the guide that the DROID rig
  renders at its declared 1280x720, with a TODO to move to the
  policies' default resolution.
- Add the GR00T Experiment to the PerfLab guide.
- Note in the performance reference that the maintained configs on
  main may differ from the pinned, measured ones.

Signed-off-by: alex <[email protected]>
load_arena_experiment_from_config_file checks that every registered
environment has a config. In CI, test_external_environment runs earlier
in the same process and leaves ExternalFrankaTableEnvironment registered
without one, so every PerfLab config test failed (issue #1580).

Load the PerfLab Experiments with load_arena_experiment_from_yaml and an
explicit environment config mapping instead, as test_experiment_hydra
does. Switch back once #1379 fixes the loader.

Signed-off-by: alex <[email protected]>
The typed loader now skips registered environments without a config, so the
explicit environment config mapping is no longer needed.

This reverts commit c8d6385.

Signed-off-by: alex <[email protected]>
@alexmillane
alexmillane force-pushed the cvolk/feature/perflab-benchmarks-main branch from 3768d8a to b365e36 Compare November 5, 2026 20:03
@alexmillane
alexmillane merged commit 668bb80 into main Nov 6, 2026
10 checks passed
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.

3 participants