Repository navigation
Aggregate open benchmarking work - #6769
AntoineRichard merged 42 commits into
Conversation
AntoineRichard
left a comment
There was a problem hiding this comment.
Reviewed current head de142833. This needs another quality pass before merge: the public warm-up rename bypasses the required deprecation cycle; two new tests are not portable to the package and GPU configurations they run under; common sensor CLI and workload code and its test matrix remain duplicated; and several comments and docs describe development history or repeat workstation output rather than stating functional contracts.
Verification: the full uv run isaaclab -f pre-commit suite passed. Targeted benchmark, CLI, and RL-entrypoint tests collected 388 tests: 377 passed, 8 skipped, and 3 failed. The failures were the CPU-only OVPhysX pinned-memory allocation and two unconditional SKRL imports described inline.
| @@ -97,7 +97,7 @@ class BenchmarkRuntimeRequest: | |||
| task: str | |||
| num_envs: int | None = None | |||
| num_frames: int = 1000 | |||
| warmup_frames: int = 50 | |||
| warmup_steps: int = 50 | |||
There was a problem hiding this comment.
Blocking: This removes the public warmup_frames constructor parameter outright, so existing BenchmarkRuntimeRequest(warmup_frames=...) and BenchmarkPlayRequest(warmup_frames=...) calls now fail with TypeError. AGENTS.md requires a deprecation release before removing or renaming public API. Please retain warmup_frames compatibility for at least one release, emit a deprecation warning, define how conflicting old/new values are handled, and keep deprecated --warmup_frames CLI aliases for the same cycle.
Keep mock state buffers stable so timed samples measure accessor work instead of random-data allocation or mock-side copies. Initialize Newton dynamics metadata and make unsupported or deprecated properties explicit.
Benchmark articulation, rigid-object, and collection wrapper and data paths using the optional kitless OVPhysX runtime. Keep mock storage work outside timed operations so results reflect Isaac Lab overhead.
Measure synchronized updates, submission latency, and backend reads for contact, frame-transformer, IMU, PVA, joint-wrench, and ray-caster sensors without charging physics stepping to sensor timing.
Share synchronized latency sampling across PhysX and OVPhysX sensor workloads. Emit summary and JSON results with observer-floor, submission, completion, and native-read statistics so runs are directly comparable and failures remain visible.
Use the shared synchronized latency runner so Newton sensor results include consistent statistics, observer cost, metadata, and machine-readable output across backends.
Explain why isolated asset and sensor benchmarks exist, how to run each backend workload, and how to interpret and compare their outputs.
Keep the designated-workstation requirement public without exposing the private local SSH helper.
Lead with the supported typed Python workflows, document verified request and result contracts, and provide an executable lower-level extension example. Align API reference coverage and testing navigation with the three-part benchmark journey.
Connect the benchmark user, framework, and micro-benchmark guides through one coherent documentation path while preserving their distinct scopes.
Advance the rebased benchmark bundle schema from 1.2 to 1.3 for the additive learning success-rate curve.
Use step terminology across runtime and play interfaces. Record the excluded count in environment-step timing so schema and flat formatter consumers share one contract.
Share asset workload definitions and orchestration across physics backends. Retain one command per asset concept while preserving separate method and data result artifacts.
Explain that each retained asset command runs method and data phases and preserves two historical result artifacts. Record the change for every touched package.
Preserve backend-specific generator shapes, exact physics selectors, and independent data-target refresh behavior after consolidating the asset benchmark suites. Add focused regressions for every affected backend and input mode.
|
Too many files changed for review. ( Bypass the limit by tagging |
Preserve exact physics variants through retained asset wrappers, document the top-level component command and public factory API, consolidate changelog guidance, and remove redundant review-era assertions.
Cover the complete cloned environment grid in rough ray-caster workloads. Prevent passthrough arguments from replacing the selected physics backend, report invalid asset workload counts through argparse, and retain the exact backend selector in both asset artifacts.
Use step terminology throughout runtime and play benchmark APIs, command-line options, metadata, tests, and documentation so the workload unit matches the operation being measured.
Share the common sensor command-line contract, latency sampling, and result reporting while leaving backend scene setup, cadence handling, native reads, and validation visible in each retained benchmark.
Move sensor-specific CLI, timing, reporting, and ray-caster helpers into a coherent package shared by all physics backends. Replace the redundant cross-product subprocess checks with direct parser coverage while retaining backend-specific ray-caster validation.
Consolidate the shared contact-sensor workload, make optional tests safe in base and CPU-only environments, and document public microbenchmark contracts. Remove brittle declaration tests and duplicated benchmark output examples while keeping behavior-focused coverage.
There was a problem hiding this comment.
Isaac Lab Review Bot
The benchmarking consolidation is coherent overall, but the newly public latency APIs are missing from the generated benchmark API documentation.
- Design and architecture: No material design or architecture concerns were found.
- API: The step-based API rename is consistently applied and documented. However, the new public latency runner, sample, statistics, measurement, and summarization symbols should be added to the benchmark API reference.
- Implementation: No material implementation concerns were found in the reviewed changes.
Minor fixes needed. Posted 1 actionable finding inline.
The PR exceeded the automated context budget, so some file content was truncated.
Conservative automated review; human maintainers own approval decisions.
d04e048 to
379a3ae
Compare
Document the exported latency helpers and use an internal Sphinx reference for the benchmark guide. Restore the test-only RL fragment consumed while rebasing across the nightly changelog compilation.
Correct backend-specific asset inputs and stale data dependencies. Keep zero-warmup contact runs valid and forward selected-component help.
## Summary Consolidates the remaining open benchmarking work onto `develop`, which now contains isaac-sim#6564 and isaac-sim#6631. This pull request is the canonical source for review, CI, and merge; the superseded individual pull requests are closed to keep discussion and validation centralized here. ## Superseded pull requests - isaac-sim#6565 — Fix articulation data micro-benchmarks - isaac-sim#6566 — Add OVPhysX asset micro-benchmarks - isaac-sim#6567 — Add OVPhysX sensor micro-benchmarks - isaac-sim#6568 — Add Newton sensor micro-benchmarks - isaac-sim#6587 — Document micro-benchmark workflows - isaac-sim#6595 — Rewrite benchmark user guide - isaac-sim#6624 — Success series in benchmark schema - isaac-sim#6627 — Rewrite advanced benchmark framework guide - isaac-sim#6629 — Unify benchmark documentation journey - isaac-sim#6764 — Standardize benchmark warm-up steps ## Already landed dependencies - isaac-sim#6564 — Benchmark library API - isaac-sim#6631 — Restore RL entrypoint backend state ## Integration notes - The success-rate learning curve advances the benchmark bundle schema from 1.2 to 1.3. - Runtime and play use `num_steps` and `warmup_steps` consistently. - Shared asset and sensor suites preserve backend-specific setup while centralizing common workload, timing, and reporting behavior. - The top-level micro-benchmark factory exposes exact physics selectors and runs retained benchmark scripts in child processes. - The benchmark user, framework, and micro-benchmark guides form one documentation path with generated API coverage for public symbols. - Historical plan/spec commits were excluded from the consolidated history. ## Verification - `./isaaclab.sh -f` - `python3 tools/changelog/cli.py check develop` - `./isaaclab.sh -d` - Focused benchmark and RL entrypoint tests: 315 passed, 9 skipped --------- Co-authored-by: Kelly Guo <[email protected]>
Summary
Consolidates the remaining open benchmarking work onto
develop, which nowcontains #6564 and #6631. This pull request is the canonical source for review,
CI, and merge; the superseded individual pull requests are closed to keep
discussion and validation centralized here.
Superseded pull requests
Already landed dependencies
Integration notes
1.2 to 1.3.
num_stepsandwarmup_stepsconsistently.centralizing common workload, timing, and reporting behavior.
runs retained benchmark scripts in child processes.
documentation path with generated API coverage for public symbols.
Verification
./isaaclab.sh -fpython3 tools/changelog/cli.py check develop./isaaclab.sh -d