Skip to content

Commit

Permalink
Update trainer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster authored Jul 18, 2024
1 parent e858dcd commit df9bd2d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/metatrain/experimental/pet/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ def train(

# set model hypers
self.hypers["ARCHITECTURAL_HYPERS"] = model.hypers
dtype = train_datasets[0][0]["system"].positions.dtype
if dtype != torch.float32:
raise ValueError("PET only supports float32 as dtype")
self.hypers["ARCHITECTURAL_HYPERS"]["DTYPE"] = "float32"

# set MLIP_SETTINGS
Expand Down

0 comments on commit df9bd2d

Please sign in to comment.