Skip to content

Commit

Permalink
fix: cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
anyangml committed Feb 28, 2024
1 parent c0f2c56 commit df33191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/tests/pt/model/test_descriptor_se_r.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def test_load_stat(self):
"r0": None,
"coord": torch.from_numpy(self.coord_ext).reshape(
-1, self.nall, 3
),
"atype": torch.from_numpy(self.atype_ext),
).to(env.DEVICE),
"atype": torch.from_numpy(self.atype_ext).to(env.DEVICE),
"box": None,
"natoms": self.nall,
}
Expand Down

0 comments on commit df33191

Please sign in to comment.