Skip to content

Commit 2fbc8a9

Browse files
natazielricardoV94
authored andcommitted
avoid jaxifying logp multiple times
1 parent a9c5a85 commit 2fbc8a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymc/sampling/jax.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ def sample_jax_nuts(
669669
random_seed=random_seed,
670670
initial_points=initial_points,
671671
nuts_kwargs=nuts_kwargs,
672+
logp_fn=logp_fn,
672673
)
673674
tic2 = datetime.now()
674675

0 commit comments

Comments
 (0)