Skip to content

Commit

Permalink
remove jit
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTov committed May 7, 2024
1 parent afb849f commit c5e1170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion znnl/models/jax_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__(

# Prepare NTK calculation
self.empirical_ntk = nt.batch(
nt.empirical_ntk_fn(f=jax.jit(self._ntk_apply_fn), trace_axes=trace_axes),
nt.empirical_ntk_fn(f=self._ntk_apply_fn, trace_axes=trace_axes),
batch_size=ntk_batch_size,
store_on_device=store_on_device,
)
Expand Down

0 comments on commit c5e1170

Please sign in to comment.