Skip to content

Releases: jeremiecoullon/jax-tqdm

Bar Update Bug Fix

14 Oct 23:54
f824beb
Compare
Choose a tag to compare

Fix bug where progress bar initialisation and updates were not correctly called in sequence either side of a scan/loop step function. This resulted in all updates to the progress bar being called after any functionality inside the step. So for longer running functions this would look like:

  • The progress bar being initialised/displayed after the first iteration (i.e. delaying the display of the bar)
  • Some updates being run directly after each other, causing some updates to look instant/jumpy

Thanks to @andrewlesak for spotting this!

Progress bars will now be updated in the correct sequence (with no API change):

  • Bars will be displayed before the first iteration is computed
  • Steps between updates be spaced appropriately

Multiple Progress Bars

07 Oct 19:44
f216dcb
Compare
Choose a tag to compare

Adds the ability to update multiple progress bars, to show the progress of individual loops and scans inside a vmapped function.

Select Tqdm Submodule

17 Jul 20:37
b08c9f6
Compare
Choose a tag to compare

Adds the ability to select the the tqdm submodule, for example manually selecting 'std' or 'notebook' for progress bar creation (thanks @mdmould)

Bug Fixes

15 May 08:44
9c43885
Compare
Choose a tag to compare
  • Fixes #19 for JAX version > 0.4.27 (thanks @mdmould)
  • Fix async update bug (mentioned in #12) by ensuring tqdm updates are ordered (thanks also @mdmould)

JAX Update

26 Apr 10:44
43d5fda
Compare
Choose a tag to compare
  • Use jax.debug.callback instead of deprecated jax.experimental.host_callback (thanks @BirkhoffG )
  • Update min JAX version to 0.4.12

Progress Bar Options

21 Nov 20:21
54733b2
Compare
Choose a tag to compare

Adds the ability to pass tqdm keyword options as arguments (thanks to @mdmould )

v0.1.1

13 Feb 21:19
9034145
Compare
Choose a tag to compare

Add the ability to manually set print-rate

Initial Release

17 Jan 20:05
289e6f4
Compare
Choose a tag to compare

Implements tqdm progress bars for JAX scans and for loops.