Skip to content

Commit a547cc2

Browse files
committed
commit
1 parent 22d0d8b commit a547cc2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pymc_experimental/inference/pathfinder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,18 @@ def fit_pathfinder(
9999

100100
model = modelcontext(model)
101101

102-
ip = model.initial_point()
102+
ip = model.initial_point() # DEV: testing
103103
ip_map = DictToArrayBijection.map(ip)
104104

105105
new_logprob, new_input = pm.pytensorf.join_nonshared_inputs(
106106
ip, (model.logp(),), model.value_vars, ()
107107
)
108108

109109
logprob_fn_list = get_jaxified_graph([new_input], new_logprob)
110+
# DEV: testing
110111

111112
def logprob_fn(x):
113+
# DEV: testing
112114
return logprob_fn_list(x)[0]
113115

114116
[pathfinder_seed, sample_seed] = _get_seeds_per_chain(random_seed, 2)

0 commit comments

Comments
 (0)