[Warp] Cleanup Part 5.1: Speed up launches outside graph capture with replay#6551
Closed
hujc7 wants to merge 5 commits into
Closed
[Warp] Cleanup Part 5.1: Speed up launches outside graph capture with replay#6551hujc7 wants to merge 5 commits into
hujc7 wants to merge 5 commits into
Conversation
Provide an owner-scoped path for pointer-stable kernels that cannot stay inside CUDA graph regions. Preserve eager A/B mode and validate recorded storage contracts in debug builds.
Route persistent direct-task, MDP, and manager launches through environment-owned caches so uncapturable stages avoid eager marshalling on every kernel. Keep transient allocations eager.
Gate replay for validated pointer-stable articulation, rigid-object, derived-state, and actuator paths. Leave the feature disabled by default while broader workload coverage matures.
Add a reproducible mixed-kernel matrix and completed-step timing controls to compare eager launch, recorded replay, dynamic setters, and graph composition across launch and thread scales.
hujc7
force-pushed
the
jichuanh/warp-launch-record-replay
branch
from
July 16, 2026 08:41
2c874fe to
fbe99e6
Compare
Runtime manager-term updates can replace scalar or callable inputs that are baked into captured graphs and recorded launches. Invalidate the owner caches only when a curriculum actually writes a new value.
8 tasks
9 tasks
Collaborator
Author
|
Superseded by #6611, which now absorbs everything from this PR on top of the simplified #6607 frontend: the owner-scoped |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. Summary
isaaclab: adds owner-scopedWarpLaunchCache, eager/replay A/B mode, debug pointer/layout validation, and a reproducible mixed-kernel benchmark.isaaclab_experimental: converts persistent direct, manager, and MDP launch sites while retaining eager execution for transient allocations.isaaclab_newton: adds default-off replay for validated pointer-stable articulation, rigid-object, derived-state, and actuator paths.isaaclab_tasks_experimental: converts Cartpole, locomotion, Allegro in-hand, and manager-task hot paths.The counterbalanced actual-environment grid measured Ant and Allegro Direct at
256, 1,024, 4,096, and 16,384 environments on four L40s:
1.06372x(+6.372%, descriptive 95% CI1.03690–1.09124)Per-step-synchronized diagnostics exposed roughly
65–106 us/stepof removedhost launch overhead. The normal pipeline hides that saving behind queued GPU
work in saturated cases. The isolated launch ablation independently confirms
that graphs remain fastest for capture-safe regions and replay removes most
Warp Python marshalling from persistent uncaptured calls.
2. Design notes
set_dim()path.3. Test plan
git diff --check.4. Follow-ups
Type of change
Checklist
./isaaclab.sh -f.CONTRIBUTORS.md.