refactor: unify learning rate schedulers with array API #5154
Codecov / codecov/project
succeeded
Jan 26, 2026 in 1s
81.93% (-0.02%) compared to e8afb6e
View this Pull Request on Codecov
81.93% (-0.02%) compared to e8afb6e
Details
Codecov Report
❌ Patch coverage is 79.31034% with 42 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.93%. Comparing base (e8afb6e) to head (75b81fb).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| deepmd/utils/compat.py | 26.66% | 22 Missing |
| deepmd/dpmodel/utils/learning_rate.py | 86.11% | 10 Missing |
| deepmd/utils/argcheck.py | 87.23% | 6 Missing |
| deepmd/pt/utils/utils.py | 60.00% | 2 Missing |
| deepmd/pd/utils/utils.py | 50.00% | 1 Missing |
| deepmd/tf/utils/learning_rate.py | 96.66% | 1 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## master #5154 +/- ##
==========================================
- Coverage 81.95% 81.93% -0.02%
==========================================
Files 714 714
Lines 73434 73547 +113
Branches 3616 3616
==========================================
+ Hits 60180 60259 +79
- Misses 12091 12124 +33
- Partials 1163 1164 +1 ☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Loading