build: enable PyTorch ops by default#5577
Conversation
Set DP_ENABLE_PYTORCH to default to 1 in the Python build backend and update related installation guidance accordingly. Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthrough
ChangesDP_ENABLE_PYTORCH enabled by default
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5577 +/- ##
==========================================
- Coverage 82.15% 82.14% -0.01%
==========================================
Files 900 900
Lines 104140 104141 +1
Branches 4470 4470
==========================================
- Hits 85553 85546 -7
- Misses 17181 17186 +5
- Partials 1406 1409 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
DP_ENABLE_PYTORCHdefaults to1.DP_ENABLE_PYTORCH=0opt-out.Tests
python3static assertions for the updated default and docspython3mockedbackend.read_env.get_argument_from_env()check for default-DENABLE_PYTORCH=ONand explicitDP_ENABLE_PYTORCH=0opt-outpython3backend.find_pytorch()opt-out checkgit diff --checkAuthored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
Summary by CodeRabbit
Release Notes
New Features
Documentation