Skip to content

[pull] master from deepmodeling:master - #319

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

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

Conversation

@pull

@pull pull Bot commented Aug 29, 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

Backport `0004-register-lammps-kokkos-plugin-styles.patch` from
`conda-forge/deepmd-kit-feedstock@d02138263b0b30629fe28c68c8bcecc2b8644513`.

Runtime LAMMPS plugins do not consume the `PairStyle` declarations used
by the built-in package machinery, so explicitly register:

- `deepmd/kk`
- `deepmd/kk/device`
- `deepmd/kk/host`
- `dpa4spin/kk`
- `dpa4spin/kk/device`
- `dpa4spin/kk/host`

The newly registered Kokkos plugin styles are attributed to **Tiancheng
Li** via `plugin.author`.

## Validation

- Single-file change derived from the feedstock patch, with only the
requested author attribution adjusted.
- Existing non-Kokkos plugin author fields are unchanged.
- Split from #5985 so plugin registration can be reviewed independently.
- Full build/runtime validation is left to upstream CI.

Agent: ChatGPT
Model: GPT-5.6 Sol

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
  - Added Kokkos-enabled support for DeepMD and DPA-4Spin pair styles.
- Added host and device runtime variants for improved compatibility
across supported execution environments.
- Registered additional pair-style aliases so these implementations can
be selected through standard runtime configuration.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

## Dependencies and follow-up validation

Merge order: corrected #5987, then #5989, then this PR. The Kokkos
registrations in this PR depend on the compatibility boundary from #5987
and the shared-runtime linkage from #5989.

Validated the combined changes with `DEEPMD_LAMMPS_KOKKOS=ON`,
`PKG_PLUGIN=ON`, and `PKG_KOKKOS=ON` against `stable_22Jul2025_update5`,
`patch_10Sep2025`, and `patch_20Aug2026`. In every build, `plugin load`
succeeded and `plugin list` reported all six aliases: `deepmd/kk`,
`deepmd/kk/device`, `deepmd/kk/host`, `dpa4spin/kk`,
`dpa4spin/kk/device`, and `dpa4spin/kk/host`.

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

Co-authored-by: OutisLi <137472077+OutisLi@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Aug 29, 2026
@pull pull Bot added the ⤵️ pull label Aug 29, 2026
@pull
pull Bot merged commit b32f74c into ishandutta2007:master Aug 29, 2026
5 checks passed
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