-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: Refactor DPGEN2 with a new design #185
Comments
For the first point, it is quite easy to put the machine-related configurations together or in a separate file, in my opinion, this is a minor point.
Here, you can use different LAMMPS template files for different |
Hi @zjgemi It is not only system-wise LAMMPS configuration is required, but also CP2K. You may check the detail in the pseudo configuration. |
Hi community,
This RFC is about a proposal to refactor DPGEN workflow with a new design based on DFlow
A typical DPGEN2 configuration is like the below:
https://github.com/deepmodeling/dpgen2/blob/master/examples/chno/input.json
IMHO there are some issues in the configuration:
pydantic
, which would be error proneA suggested pseudo configuration design is like the below, which borrow some ideas from
ai2-kit
project.This configuration is supposed to be more formal and clean to maintain.
The above configuration is easy to validate with
pydantic
, for example:https://github.com/chenggroup/ai2-kit/blob/main/ai2_kit/workflow/cll_mlp.py#L32-L111
I believe a better design of configuration will lead to a better software design.
I post my thoughts for the community to review, and it would be appreciated to get some feedbacks.
The text was updated successfully, but these errors were encountered: