Skip to content

[pull] master from deepmodeling:master - #306

Merged
pull[bot] merged 1 commit into
ishandutta2007:masterfrom
deepmodeling:master
Aug 3, 2026
Merged

[pull] master from deepmodeling:master#306
pull[bot] merged 1 commit into
ishandutta2007:masterfrom
deepmodeling:master

Conversation

@pull

@pull pull Bot commented Aug 3, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

## Summary

- Add and register the TF2 DPA4/SeZM descriptor adapter and its
TensorFlow-backed submodule mappings.
- Add the TensorFlow array operations, dynamic-shape handling, and
trackable parameter support required by the DPA4 descriptor.
- Enable TF2 coverage in the existing DPA4 descriptor consistency tests
and add focused descriptor state, checkpoint, graph-shape, and
array-operation tests.
- Keep this pull request descriptor-only; fitting, model factory,
trainer, and model-conversion changes are excluded.

## Validation

- ruff format .
- ruff check .
- python -m py_compile deepmd/dpmodel/array_api.py
deepmd/dpmodel/descriptor/dpa4.py
deepmd/dpmodel/descriptor/dpa4_nn/so2.py deepmd/tf2/common.py
deepmd/tf2/descriptor/dpa4.py
source/tests/consistent/descriptor/test_dpa4.py
source/tests/consistent/test_array_api.py source/tests/tf2/test_dpa4.py
- DP_TEST_TF2_ONLY=1 pytest source/tests/tf2/test_dpa4.py -v — 6 passed
- DP_TEST_TF2_ONLY=1 pytest
source/tests/consistent/test_array_api.py::TestXpMaximumAtConsistent::test_tf_preserves_all_negative_infinity_segment
-v — 1 passed

Coding agent: Codex
Codex version: codex-cli 0.144.4
Model: gpt-5.6-sol
Reasoning effort: xhigh

---------

Co-authored-by: njzjz-bot <njzjz.bot@gmail.com>
Co-authored-by: njzjz-bot <njzjz-bot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: OutisLi <137472077+OutisLi@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Aug 3, 2026
@pull pull Bot added the ⤵️ pull label Aug 3, 2026
@pull
pull Bot merged commit 6330a2f into ishandutta2007:master Aug 3, 2026
32 checks passed
@github-actions github-actions Bot added the Python label Aug 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant