Skip to content

feat(infer): add get_model method to DeepEval for accessing backend-specific model instances#4931

Merged
njzjz merged 6 commits into
develfrom
copilot/fix-4930
Sep 2, 2025
Merged

feat(infer): add get_model method to DeepEval for accessing backend-specific model instances#4931
njzjz merged 6 commits into
develfrom
copilot/fix-4930

Addressing PR comments

7ba9fad
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 2, 2025 in 0s

84.28% (-0.01%) compared to 85ab1b9

View this Pull Request on Codecov

84.28% (-0.01%) compared to 85ab1b9

Details

Codecov Report

❌ Patch coverage is 71.42857% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.28%. Comparing base (85ab1b9) to head (7ba9fad).
⚠️ Report is 4 commits behind head on devel.

Files with missing lines Patch % Lines
deepmd/dpmodel/infer/deep_eval.py 33.33% 2 Missing ⚠️
deepmd/pd/infer/deep_eval.py 0.00% 2 Missing ⚠️
deepmd/infer/deep_eval.py 90.00% 1 Missing ⚠️
deepmd/jax/infer/deep_eval.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #4931      +/-   ##
==========================================
- Coverage   84.28%   84.28%   -0.01%     
==========================================
  Files         704      705       +1     
  Lines       68847    69072     +225     
  Branches     3572     3572              
==========================================
+ Hits        58031    58215     +184     
- Misses       9676     9718      +42     
+ Partials     1140     1139       -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.