Skip to content

Commit

Permalink
remove id_tab
Browse files Browse the repository at this point in the history
  • Loading branch information
thorben-frank committed Aug 23, 2024
1 parent e8d59ae commit 02107c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlff/mdx/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import logging

from jax import lax
from jax.experimental.host_callback import id_tap
# from jax.experimental.host_callback import id_tap

from typing import Dict, Tuple
from collections import namedtuple
Expand Down Expand Up @@ -116,7 +116,7 @@ def run(self, integrator, atoms, steps):
integrator = final_integrator

if step % self.save_frequency == 0:
id_tap(self.save_trajectory, step_data)
self.save_trajectory(step_data, None)

t = delta_t * (step + 1 - overflow_count)
temp = step_data.observables['temperature'][-1].item()
Expand Down

0 comments on commit 02107c2

Please sign in to comment.