Skip to content

Commit a8c448b

Browse files
kyonofxlbluquewood-b
authored
EquiformerV2 + DeNS model and trainer (#880)
* add density metrics * update trainer & loss * interleave atoms in loss * fix call to keys * add rmse to evaluation metrics * fix linting. * per_atom_loss fix * fix test * Equiformer DeNS model and trainer * fix linting. * lint * lint again * add type hints * empty cuda cache and remove db closing * type hints * add missing args to docstring * add return type hints * rename dens heads * move use_densoising to heads * abstract denoising targets * update omat24 dens config * fix imports * fix trainer --------- Co-authored-by: lbluque <[email protected]> Co-authored-by: Luis Barroso-Luque <[email protected]> Co-authored-by: Brandon <[email protected]> Former-commit-id: d1a8dca088394d4cd8513143240822dd6610a4ae
1 parent 1e275eb commit a8c448b

File tree

4 files changed

+1456
-7
lines changed

4 files changed

+1456
-7
lines changed

configs/omat24/mptrj/eqV2_31M_dens_mptrj.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,16 @@ model:
148148

149149
use_force_encoding: True
150150
use_noise_schedule_sigma_encoding: False
151-
use_denoising_energy: True
152-
use_denoising_stress: False
153-
154151

155152
heads:
156153
energy:
157-
module: fairchem.core.models.equiformer_v2.equiformer_v2_dens.DeNSEnergyHead
154+
module: fairchem.core.models.equiformer_v2.equiformer_v2_dens.DeNSScalarHead
155+
use_denoising: True
158156
forces:
159-
module: fairchem.core.models.equiformer_v2.equiformer_v2_dens.DeNSForceHead
157+
module: fairchem.core.models.equiformer_v2.equiformer_v2_dens.DeNSVectorHead
160158
stress:
161159
module: fairchem.core.models.equiformer_v2.equiformer_v2_dens.DeNSRank2Head
162160
output_name: stress
163161
use_source_target_embedding: True
164162
decompose: True
163+
use_denoising: False

0 commit comments

Comments
 (0)