probml / probml/dynamax

[BUG] progress bar not needed anymore for BlackJAX's MCMC implementation

Open Beginner friendly
#463 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1k
Forks
114
Avg merge
19h 14m
Merged PRs (30d)
1

Description

Hi, I think BlackJAX recently changed API for function blackjax.window_adaptation(). progress_bar=verbose is not needed anymore.

This creates a small bug which breaks notebook lgssm_hmc.ipynb.

The simple fix is to delete the line progress_bar=verbose. Then everything works back again.

I am using:
blackjax==1.6.2
dynamax==1.0.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open docs/notebooks/linear_gaussian_ssm/lgssm_hmc.ipynb and locate the blackjax.window_adaptation() call that passes progress_bar=verbose. Run the notebook with blackjax 1.6.2 to confirm the failure, remove that argument, and rerun it to verify the notebook completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, machine-learning
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
90/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.