Commit 1f0ca6c
authored
feat(pt/dpa4): Support property fitting in DPA4/SeZM models (deepmodeling#5587)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added support for invariant property fitting with the DPA4/SeZM model
family.
- Property outputs can now be trained and read back with dedicated
labels, including intensive or non-intensive aggregation.
- Expanded model selection to recognize the DPA4 path and
property-fitting configuration.
- **Bug Fixes**
- Improved output-stat handling so non-energy outputs are normalized
more consistently.
- Added validation to prevent unsupported configuration combinations.
- **Documentation**
- Updated training guides and examples for property-based DPA4/SeZM
workflows.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent dbdc9a3 commit 1f0ca6c
9 files changed
Lines changed: 630 additions & 22 deletions
File tree
- deepmd
- pt/model
- atomic_model
- model
- utils
- doc/model
- examples/property/train
- source/tests/pt/model
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
152 | 168 | | |
153 | 169 | | |
154 | 170 | | |
| |||
595 | 611 | | |
596 | 612 | | |
597 | 613 | | |
598 | | - | |
599 | | - | |
600 | | - | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
601 | 624 | | |
602 | 625 | | |
603 | 626 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
346 | 350 | | |
347 | 351 | | |
348 | 352 | | |
349 | | - | |
| 353 | + | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
353 | 357 | | |
354 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
355 | 384 | | |
356 | 385 | | |
357 | 386 | | |
| |||
361 | 390 | | |
362 | 391 | | |
363 | 392 | | |
364 | | - | |
| 393 | + | |
365 | 394 | | |
366 | 395 | | |
367 | 396 | | |
| |||
421 | 450 | | |
422 | 451 | | |
423 | 452 | | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
424 | 459 | | |
425 | 460 | | |
426 | 461 | | |
| |||
466 | 501 | | |
467 | 502 | | |
468 | 503 | | |
469 | | - | |
| 504 | + | |
470 | 505 | | |
471 | 506 | | |
472 | 507 | | |
| |||
486 | 521 | | |
487 | 522 | | |
488 | 523 | | |
| 524 | + | |
489 | 525 | | |
490 | 526 | | |
491 | 527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
490 | 491 | | |
491 | 492 | | |
492 | 493 | | |
| |||
1363 | 1364 | | |
1364 | 1365 | | |
1365 | 1366 | | |
| 1367 | + | |
1366 | 1368 | | |
1367 | 1369 | | |
1368 | 1370 | | |
| |||
1406 | 1408 | | |
1407 | 1409 | | |
1408 | 1410 | | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
1409 | 1416 | | |
1410 | 1417 | | |
1411 | 1418 | | |
| |||
1428 | 1435 | | |
1429 | 1436 | | |
1430 | 1437 | | |
1431 | | - | |
1432 | | - | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
1433 | 1441 | | |
1434 | 1442 | | |
1435 | 1443 | | |
| |||
1502 | 1510 | | |
1503 | 1511 | | |
1504 | 1512 | | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
1505 | 1523 | | |
1506 | 1524 | | |
1507 | 1525 | | |
1508 | | - | |
| 1526 | + | |
1509 | 1527 | | |
1510 | 1528 | | |
1511 | 1529 | | |
| |||
2091 | 2109 | | |
2092 | 2110 | | |
2093 | 2111 | | |
2094 | | - | |
2095 | | - | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
2096 | 2115 | | |
2097 | 2116 | | |
2098 | 2117 | | |
| |||
2275 | 2294 | | |
2276 | 2295 | | |
2277 | 2296 | | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
2278 | 2305 | | |
2279 | 2306 | | |
2280 | 2307 | | |
| |||
0 commit comments