Skip to content

feat(pretrained): add DPA-2.4-7M to registry#5307

Merged
iProzd merged 2 commits intodeepmodeling:masterfrom
njzjz-bothub:feat/pretrained-add-dpa-2.4-7m
Mar 13, 2026
Merged

feat(pretrained): add DPA-2.4-7M to registry#5307
iProzd merged 2 commits intodeepmodeling:masterfrom
njzjz-bothub:feat/pretrained-add-dpa-2.4-7m

Conversation

@njzjz-bot
Copy link
Contributor

@njzjz-bot njzjz-bot commented Mar 12, 2026

Problem

  • DPA-2.4-7M is available on HuggingFace and has mirrors (hf-mirror + ModelScope), but is not listed in the built-in pretrained registry.

Change

  • Add DPA-2.4-7M to deepmd/pretrained/registry.py with HuggingFace URL, hf-mirror URL, and ModelScope mirror URL.
  • Record the model file SHA256 for integrity checking.

Notes

Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.2)

Summary by CodeRabbit

  • New Features
    • The DPA-2.4-7M pretrained model is now available for download and use.
    • Additional download sources/URLs added for DPA-3.2-5M and DPA-3.1-3M to improve availability.

Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.2)
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 12, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 80d87c5f-bbe5-431b-9c93-33c1d40965d3

📥 Commits

Reviewing files that changed from the base of the PR and between dd4b304 and 18bbb2b.

📒 Files selected for processing (1)
  • deepmd/pretrained/registry.py

📝 Walkthrough

Walkthrough

Added a new pretrained model entry "DPA-2.4-7M" to MODEL_REGISTRY and appended ModelScope URLs to existing entries DPA-3.2-5M and DPA-3.1-3M in deepmd/pretrained/registry.py. No public APIs were changed.

Changes

Cohort / File(s) Summary
Registry — new and updated entries
deepmd/pretrained/registry.py
Added DPA-2.4-7M (urls, filename dpa-2.4-7M.pt, sha256). Updated DPA-3.2-5M and DPA-3.1-3M by adding ModelScope URLs to their urls lists.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a new pretrained model (DPA-2.4-7M) to the registry.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.2)
@njzjz-bot
Copy link
Contributor Author

Update

  • Added ModelScope mirror URLs for DPA-3.2-5M and DPA-3.1-3M as well.

Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.2)

@codecov
Copy link

codecov bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.28%. Comparing base (a8d2a8d) to head (18bbb2b).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5307      +/-   ##
==========================================
- Coverage   82.28%   82.28%   -0.01%     
==========================================
  Files         773      773              
  Lines       77330    77331       +1     
  Branches     3659     3661       +2     
==========================================
- Hits        63631    63630       -1     
- Misses      12528    12529       +1     
- Partials     1171     1172       +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.

@njzjz njzjz requested a review from iProzd March 13, 2026 10:44
@iProzd iProzd added this pull request to the merge queue Mar 13, 2026
Merged via the queue into deepmodeling:master with commit 5f25774 Mar 13, 2026
81 of 96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants