Skip to content

[BUG] parameter miss match for ZBL model in python and cpp source codes #4906

@OutisLi

Description

@OutisLi

Bug summary

When I run lammps using the trained and frozen model, this error was raised:

Image

Then I went to check the source code on the python side:

Image

There is indeed 8 parameters, but the corresponding cpp codes have 9:

Image

I tried to modify the python code by adding the comm_dict in the function parameters:

Image

But other errors were raised as a result:

Image

Can anyone help me fix this issue when using ZBL model?

DeePMD-kit Version

3.1.1.dev92+g3d235c421 (latest version forked from the devel brance)

Backend and its version

Backend: PyTorch PT ver: v2.8.0+cu129-ga1cb3cc05d4

How did you download the software?

Built from source

Input Files, Running Commands, Error Log, etc.

Run lammps with the frozen model.

Steps to Reproduce

null

Further Information, Files, and Links

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions