Skip to content

BUG: new progressar adds empty spaces when progressbar=False #7264

@velochy

Description

@velochy

Describe the issue:

As I need to sample the posterior on a very large sample of 1M rows, I have batched the operation and run it in groups of 10k
To monitor the progress, I put a tqdm progress bar on the bach loop.

This used to behave as expected, but since 5.13.1 this produces the following:
image

Reproduceable code example:

import pymc as pm

# Define and sample any model you like into idata

from tqdm import tqdm
with model:   
    for i in tqdm(list(range(10))):
        pm.sample_posterior_predictive(
                    idata,
                    progressbar=False,
                )

Error message:

No response

PyMC version information:

5.13.1

Context for the issue:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions