Repository navigation
Add OVPhysX asset micro-benchmarks - #6566
AntoineRichard wants to merge 2 commits into
Conversation
|
Workstation measurement follow-up (
End-to-end per-run durations were 26 s for articulation methods, 8-9 s for rigid-object methods, 10-11 s for collection methods, and 2-5 s per data suite. All 18 runs completed with zero skips and zero tracebacks. Raw JSON and logs are retained on the workstation under |
|
Too many files changed for review. ( Bypass the limit by tagging |
75b7fcb to
747b63f
Compare
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.
747b63f to
e3eb0e2
Compare
|
Superseded by #6769, which consolidates this work and is now the canonical source for review, CI, and merge. Closing this PR to keep discussion and validation centralized there. |
## Summary Consolidates the remaining open benchmarking work onto `develop`, which now contains #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 - #6565 — Fix articulation data micro-benchmarks - #6566 — Add OVPhysX asset micro-benchmarks - #6567 — Add OVPhysX sensor micro-benchmarks - #6568 — Add Newton sensor micro-benchmarks - #6587 — Document micro-benchmark workflows - #6595 — Rewrite benchmark user guide - #6624 — Success series in benchmark schema - #6627 — Rewrite advanced benchmark framework guide - #6629 — Unify benchmark documentation journey - #6764 — Standardize benchmark warm-up steps ## Already landed dependencies - #6564 — Benchmark library API - #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 <kellyg@nvidia.com>
## 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 <kellyg@nvidia.com>
Description
Adds kitless OVPhysX method and data-property micro-benchmarks for articulations, rigid objects, and rigid object collections. The method matrix covers Torch list/tensor index paths and native Warp mask paths. Data benchmarks refresh cached properties by advancing timestamps without charging random-data allocation to accessor timing.
These micro-benchmarks isolate Isaac Lab wrapper and backend-adapter overhead. Benchmark-mode mocks reuse device-resident read sources and skip mock-only NumPy write scatter, so native OVPhysX binding and solver work is deliberately outside the measurement. Fill-ratio sensitivity therefore remains outside this PR because it requires a production binding to be meaningful.
The validation also exposed and fixed a mock binding defect: structured Warp destinations now preserve their dtype instead of being copied through a scalar float temporary.
The benchmarks require the optional
ovphysxruntime wheel. Current workstation validation usedovphysx-0.5.2+head.f62c22207c. Sensor workloads remain in the following PR.Dependencies
Type of change
Validation
./isaaclab.sh -f./isaaclab.sh -d(build completed)./isaaclab.sh -p -m pytest source/isaaclab_ovphysx/test/assets/test_articulation_helpers.py -q(5 passed)--modevalues fail during argument parsing.747b63f238e: articulation (44), rigid object (15), rigid object collection (15).747b63f238e: articulation (59), rigid object (40), rigid object collection (78).Checklist
CONTRIBUTORS.md