-
Notifications
You must be signed in to change notification settings - Fork 36
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
Enable model training on Hamiltonian matrix, wavefunction coefficients and energy levels. Supporting for mixed training. Enable some output. #85
Open
xuan112358
wants to merge
13
commits into
deepmodeling:develop
Choose a base branch
from
xuan112358:develop-H
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add deepks_v_delta=1 in scf_abacus.yaml : scf_abacus/init_scf_abacus. Set v_delta_factor in params.yaml : train_input : train_args Additionally, output detail loss for each loss term for clarity.
Psi is calculated by generalized eigenvalue decomposition, which need to set read_overlap=True in params.yaml : train_input : data_agrs. Set psi_factor and psi_occ in params.yaml : train_input : train_args.
Add deepks_v_delta=2 in scf_abacus.yaml : scf_abacus/init_scf_abacus. In this setting, ABACUS will output psialpha.npy and gevdm.npy instead of v_delta_precalc.npy, which largely save memory.
…when needed. This can save the largest memory needed.
…rams.yaml : train_input : train_args.
…_test=True in params.yaml : train_input : train_args. The factors for these output test loss terms are all one.
… display_natom_loss=True in params.yaml : train_input : train_args. Useful for mixed training.
…tom=1/2 in params.yaml : train_input : train_args. energy_per_atom=2 is more often used in mixed training.
… Set psi_occ/band_occ as map, with n_atom as key and corresponding psi_occ/band_occ number as value.
…for systems with different number of atoms. Set vd_divide_by_nlocal=True in params.yaml : train_input : train_args.
… density_m_occ in params.yaml : train_input : train_args. This loss term may have more physical implications than psi loss.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
only for gamma only now
In scf_abacus.yaml : scf_abacus/init_scf_abacus
In params.yaml : train_input : train_args
In params.yaml : train_input : data_agrs