• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ACEsuit / mace / 44288467732
75%

Build:
DEFAULT BRANCH: develop
Ran 18 Nov 2026 12:01PM UTC
Jobs 1
Files 71
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Nov 2026 10:17AM UTC coverage: 75.338% (+0.2%) from 75.129%
44288467732

push

github

web-flow
Apply the config and property weights in every loss that skipped them (#1781)

* Apply the config and property weights in every loss that skipped them

The huber, l1l2energyforces, dipole, dipole_polar and energy_forces_dipole
losses never read ref.weight or the per-property weights, and the universal
loss read the property weights but not ref.weight. config_from_atoms gives a
missing label a property weight of 0 and from_config fills its target with
zeros, so these losses trained configs with a missing label against zeros,
and config_weight, --config_type_weights and --weight_pt_head (which
--multiheads_finetuning always routes through the universal loss) did not
change the loss.

Multiply each term by the config weight and its property weight before
reducing, as the MSE losses do. In UniversalLoss the property weights stay
inside the huber arguments and the config weight multiplies the term. The
duplicated ddp branches of the two huber losses become one path through
reduce_loss(x, bool(ddp)). With every weight 1 the losses are unchanged.

Fixes #1767

* Pass ddp through unchanged in UniversalLoss

bool(None) is False, which skipped the is_ddp_enabled() detection in
reduce_loss when ddp is left at its default. The huber loss already passes
ddp through, so both huber modules now reduce the same way.

---------

Co-authored-by: Alejandro Acosta <127198532+aacostadiaz@users.noreply.github.com>

9366 of 12432 relevant lines covered (75.34%)

0.75 hits per line

Coverage Regressions

Lines Coverage ∆ File
155
75.26
0.36% calculators/mace.py
49
56.8
-0.46% cli/run_train.py
24
91.43
0.22% modules/models.py
20
91.48
7.8% cli/visualise_train.py
Jobs
ID Job ID Ran Files Coverage
1 44288467732.1 18 Nov 2026 12:01PM UTC 71
75.34
GitHub Action Run
Source Files on build 44288467732
  • Tree
  • List 71
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44288467732
  • 91063a36 on github
  • Prev Build on develop (#43846604369)
  • Next Build on develop (#44508737789)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc