Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pymc/smc/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import numpy as np

from arviz import InferenceData
from fastprogress.fastprogress import progress_bar
from fastprogress.fastprogress import force_console_behavior, progress_bar

import pymc

Expand Down Expand Up @@ -376,6 +376,8 @@ def _sample_smc_int(


def run_chains_parallel(chains, progressbar, to_run, params, random_seed, kernel_kwargs, cores):
# fastprogress HTML progress bar does not support multiprocessing
_, progress_bar = force_console_behavior()
pbar = progress_bar((), total=100, display=progressbar)
pbar.update(0)
pbars = [pbar] + [None] * (chains - 1)
Expand Down