-
Notifications
You must be signed in to change notification settings - Fork 229
Revert Built-in Call Optimization Workaround #922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Revert Built-in Call Optimization Workaround #922
Conversation
This is no longer necessary since the following changes in Warp: NVIDIA/warp#801
📝 WalkthroughWalkthroughReplaced a local ctypes-based transform_mul helper with direct transform composition using the multiplication operator across builder internals; updated shape, joint, and body transform call sites. No public API changes. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Builder
participant Transform
rect rgba(190,220,255,0.25)
note over Builder: Previous flow
Builder->>Builder: call transform_mul(xform, other)
Builder->>Transform: ctypes/native dispatch
Transform-->>Builder: composed_transform
Builder->>Builder: apply composed_transform
end
rect rgba(200,255,200,0.25)
note over Builder: New flow
Builder->>Transform: xform * other
Transform-->>Builder: composed_transform (operator overload)
Builder->>Builder: apply composed_transform
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Depends on #921. |
|
I'm not sure this is ready yet, there is still an up to 2x slowdown shown by the benchmarks for the model initialization. |
Description
This is reverting the workaround introduced in #266.
It's no longer necessary since the following changes in Warp: NVIDIA/warp#801.
Summary by CodeRabbit