Skip to content

Commit

Permalink
disable progress bar for callable chain_method tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fehiepsi committed Dec 4, 2024
1 parent 602cd1b commit 83d6efe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/infer/test_hmc_gibbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,12 @@ def gibbs_fn(rng_key, gibbs_sites, hmc_sites):
hmc_kernel = NUTS(model)
kernel = HMCGibbs(hmc_kernel, gibbs_fn=gibbs_fn, gibbs_sites=["x"])
mcmc = MCMC(
kernel, num_warmup=100, num_chains=2, num_samples=100, chain_method=vmap
kernel,
num_warmup=100,
num_chains=2,
num_samples=100,
chain_method=vmap,
progress_bar=False,
)
mcmc.run(random.PRNGKey(0))
samples = mcmc.get_samples()
Expand Down

0 comments on commit 83d6efe

Please sign in to comment.