You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix unit_cell_fire RuntimeError from bad dtype (#27)
* fix RuntimeError: scatter(): Expected self.dtype to be equal to src.dtype
torchsim/optimizers.py", line 768, in fire_step
atomic_power_per_batch.scatter_add_(
RuntimeError: scatter(): Expected self.dtype to be equal to src.dtype
* fix MaceModel init by setting self.pbc_template ahead of first potential use in setup_from_batch
0 commit comments