Repository navigation
Conversation
|
Understand this PR’s impact Explore downstream dependencies and potential security impact with Blast Radius. Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: NVIDIA/warp/.coderabbit.yml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe change enables row-compressed FEM interpolation for ChangesFEM first-row interpolation compression
CUDA BSR transpose updates
Priority: ➖ Normal Estimated code review effort: 4 (Complex) | ~60 minutes Change: Feature · Severity of issue fixed: Medium Sequence Diagram(s)sequenceDiagram
participant FEMInterpolation
participant RowCompressedBSR
participant TripletConstruction
participant CUDAGraph
FEMInterpolation->>RowCompressedBSR: reserve and write destination-row stencils
FEMInterpolation->>TripletConstruction: build restriction-local triplets
CUDAGraph->>RowCompressedBSR: replay with reused capacity
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Out of Scope Changes checkExplanation The PR also changes CUDA ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
|
/ok to test e33c4f8 |
|
@maxkra15 Thanks, can you open this pull request on the internal GitLab? You would fork omniverse/warp. This is because we currently merge changes there first and mirror to GitHub. |
|
@shi-eric opened |
|
/ok to test 032b43d |
Allow direct BSR construction to retain the owning element and coefficient arithmetic of first-sample interpolation. Reserve one stencil per partition row so sparse restrictions and captured rebuilds cannot write using restriction-local row indices. Signed-off-by: Maximilian Krause <[email protected]>
Signed-off-by: Maximilian Krause <[email protected]>
Use the same captured batches for ASV and standalone timing, explain test sizes, and cover both merge-pass parities. Link the FEM and transpose changelog fragments to NVIDIAGH-1970 and NVIDIAGH-1971. Signed-off-by: Maximilian Krause <[email protected]>
Use the stable global sort on destination-row bits instead of the experimental row sorter. Preserve source order and reserve a sentinel above valid rows, including padded input and CUDA Graph replay. Signed-off-by: Maximilian Krause <[email protected]>
Disable global module loading during capture after warming the captured operations. Keep benchmark initialization in setup so discovery and import remain safe before worker creation. Signed-off-by: Maximilian Krause <[email protected]>
Use the existing array-capacity scan and restriction-node bound to avoid reserving candidate stencils for inactive partition rows. Preserve offsets for backward and cover changing restrictions under graph replay. Signed-off-by: Maximilian Krause <[email protected]>
Bound the element loop before evaluating the selected sample so backward replay does not exit before propagating derivatives. Track gradients in triplet storage as requested by the destination. Verify both construction policies and output layouts against the partition-of-unity derivative. Signed-off-by: Maximilian Krause <[email protected]>
Avoid replaying the ineligible adjacency prefix after sample selection. This also preserves sample-index gradients when earlier neighbors have no eligible trial nodes. Extend the gradient test with sparse point trials and empty trial slots. Signed-off-by: Maximilian Krause <[email protected]>
Remove the standalone benchmark notes from the repository and retain reproduction instructions in the evidence archive. Limit the gradient release note to the triplet bug reproduced on the upstream base, rather than intermediate row-compression fixes. Signed-off-by: Maximilian Krause <[email protected]>
Signed-off-by: Maximilian Krause <[email protected]>
bb6c25c to
f7d7b45
Compare
|
merged in 85e3eea |
Description
Speed up CUDA
bsr_set_transpose()by sorting only destination-row bits. Stable radix sorting preserves source-row ordering and keeps padding last; sorting still scales with reserved capacity.Enable FEM interpolation with
reduction="first"and row compression. Reserve candidate storage from the restriction-node upper bound and assign capacity only to active rows using the existingbsr_set_zero()scan. Both operations support CUDA Graph replay without host readback.The follow-up also fixes first-sample backward evaluation and gradient tracking in interpolation triplet storage. Sample ownership and forward arithmetic are preserved.
Measurements and validation
e33c4f8fmeasured 1.83–2.32× across six patterns. The native transpose code is unchanged by this follow-up.00d9967abitwise. Eight guarded benchmark processes pass all 272 construction-policy comparisons. Regression tests fail without the fixes; pre-commit checks pass.Current measurements and reproduction · Transpose benchmark commands
Earlier end-to-end results use the pinned Isaac Lab teapot demo, which requires Isaac Lab and demo assets. Those results and checkouts remain in the evidence archive; they were not rerun for this follow-up.
Closes #1970, #1971, and #1978.
Checklist
Summary by CodeRabbit
New Features
reduction="first"with changing restrictions and CUDA Graph replay.Bug Fixes
Documentation