deepmodeling / deepmd-kit

A deep learning package for many-body potential energy representation and molecular dynamics
https://docs.deepmodeling.com/projects/deepmd/
GNU Lesser General Public License v3.0
1.41k stars 486 forks source link

[BUG] Zero thermal conductivity results when using DPA-2 model in 2024Q1 branch #3904

Open iProzd opened 1 week ago

iProzd commented 1 week ago

Bug summary

When using DPA-2 model in 2024Q1 branch trained with virial switched on, the lammps results will give thermal conductivity around zero.

The training is in multitask-finetune mode, but I think it's the same doing single-task from scratch. Training data(example)/input and input for lammps are in attached files: tc-test.zip

The thermal conductivity calculation script: cal.zip

The thermal conductivity results is: img_v3_02c6_bfdc7e2c-1685-40ca-9bba-c5d1d17c740g

DeePMD-kit Version

2024Q1

Backend and its version

PyTorch v2.1.2

How did you download the software?

Built from source

Input Files, Running Commands, Error Log, etc.

See above.

Steps to Reproduce

See above.

Further Information, Files, and Links

No response