Commit b2c8511
authored
feat(pretrained): add DPA3-Omol-Large (#5327)
Problem
- DPA3-Omol-Large is already published on model hubs but is not exposed
through `dp pretrained`.
- Users currently cannot download or resolve it via a built-in model
alias.
Change
- add `DPA3-Omol-Large` to the built-in pretrained model registry
- include Hugging Face / hf-mirror / ModelScope download URLs and the
model sha256
- update the pretrained-model docs and add alias/backend coverage in
tests
Notes
- The SHA256
(`dc4d252b31450b41eb3546cc48f640ad0831c0b5d069ce27d996e0ff58fc037a`) was
taken from the Hugging Face LFS object for `DPA3-Omol-Large.pt`.
- In this environment I only ran lightweight local validation
(`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)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added "DPA3-Omol-Large" as a new pretrained model, available from
multiple download mirrors for improved accessibility and reliability.
* **Documentation**
* Updated pretrained model examples to include "DPA3-Omol-Large".
* **Tests**
* Added tests to validate recognition and alias normalization for the
new model name.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 1ce26cf commit b2c8511
File tree
3 files changed
+18
-0
lines changed- deepmd/pretrained
- doc/model
- source/tests/common
3 files changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
| |||
0 commit comments