We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3182248 commit 8478e2fCopy full SHA for 8478e2f
pymc/step_methods/hmc/integration.py
@@ -42,6 +42,7 @@ def __init__(self, potential: QuadPotential, logp_dlogp_func):
42
self._potential = potential
43
# Sidestep logp_dlogp_function.__call__
44
pytensor_function = logp_dlogp_func._pytensor_function
45
+ pytensor_function.vm.allow_gc = False
46
# Create some wrappers for backwards compatibility during transition
47
# When raveled_inputs=False is forbidden, func = pytensor_function
48
if logp_dlogp_func._raveled_inputs:
0 commit comments