Skip to content

Commit

Permalink
Bring scores back to cpu.
Browse files Browse the repository at this point in the history
  • Loading branch information
rousseab committed Dec 26, 2024
1 parent 9da231e commit d0d0b23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def _compute_projected_scores(self, score_network: ScoreNetwork):
for time, sigma in zip(self.times, self.sigmas):
batch = self._get_batch(time, sigma)

sigma_normalized_scores = score_network(batch).X.detach()
sigma_normalized_scores = score_network(batch).X.detach().cpu()
vectors = einops.rearrange(
sigma_normalized_scores, "batch natoms space -> batch (natoms space)"
)
Expand Down

0 comments on commit d0d0b23

Please sign in to comment.