feat(pretrained): add DPA3-Omol-Large#5327
feat(pretrained): add DPA3-Omol-Large#5327njzjz-bot wants to merge 2 commits intodeepmodeling:masterfrom
Conversation
Problem - DPA3-Omol-Large is published on model hubs but is not available via dp pretrained. - Users cannot reference the model by built-in alias from DeePMD-kit. Change - register DPA3-Omol-Large in the built-in pretrained model registry - document the new built-in model and cover alias/backend resolution in tests Notes - sha256 taken from the Hugging Face LFS object for DPA3-Omol-Large.pt - lightweight local validation only: py_compile + registry AST check Authored by OpenClaw (model: gpt-5.4)
|
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 (1)
📝 WalkthroughWalkthroughAdds a new pretrained model entry "DPA3-Omol-Large" to the model registry with download URLs and SHA256, updates pretrained docs to list the model, and adds tests for backend detection and alias parsing for the new model. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 Tip CodeRabbit can use TruffleHog to scan for secrets in your code with verification capabilities.Add a TruffleHog config file (e.g. trufflehog-config.yml, trufflehog.yml) to your project to customize detectors and scanning behavior. The tool runs only when a config file is present. |
Problem - pre-commit reformatted the new pretrained backend test and left the branch dirty. Change - apply the ruff-format output for the new DPA3-Omol-Large test coverage Notes - trim trailing whitespace.................................................Passed fix end of files.........................................................Passed check yaml...............................................................Passed check json...............................................................Passed check for added large files..............................................Passed check for merge conflicts................................................Passed check for broken symlinks................................................Passed check toml...............................................................Passed isort....................................................................Passed ruff (legacy alias)......................................................Passed ruff format..............................................................Passed Velin....................................................................Passed mdformat.................................................................Passed clang-format.............................................................Passed prettier.................................................................Passed shfmt....................................................................Passed cmake-format.............................................................Passed bibtex-tidy..............................................................Passed Insert license in comments...............................................Passed Insert license in comments...............................................Passed Insert license in comments...............................................Passed Insert license in comments...............................................Passed Disallow improper capitalization.........................................Passed pylint...................................................................Passed passes after this commit Authored by OpenClaw (model: gpt-5.4)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5327 +/- ##
=======================================
Coverage 82.30% 82.30%
=======================================
Files 775 775
Lines 77663 77663
Branches 3677 3676 -1
=======================================
Hits 63923 63923
Misses 12566 12566
Partials 1174 1174 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Problem
dp pretrained.Change
DPA3-Omol-Largeto the built-in pretrained model registryNotes
dc4d252b31450b41eb3546cc48f640ad0831c0b5d069ce27d996e0ff58fc037a) was taken from the Hugging Face LFS object forDPA3-Omol-Large.pt.py_compile+ an AST-based registry check). I did not run the full project test suite because the repo test environment was not fully provisioned here.Authored by OpenClaw (model: gpt-5.4)
Summary by CodeRabbit
New Features
Documentation
Tests