Use https://github.com/fastai/fastprogress instead of tqdm for displaying progress bars.
tqdm doesn't work well with Jupyter Lab. This creates issues with pytorch-lightning's progress bars, where each validation bar creates a newline in the cell output: #1399. This is a well-known issue in jupyter-widgets: https://github.com/jupyter-widgets/ipywidgets/issues/1845
The Fast.ai people developed fastprogress as a replacement for exactly this reason.
Replace tqdm with fastprogress.
The alternative is to wait for jupyter-widgets to fix the issue on their side. Given that this issue has been around since November 2017, I'm not too hopeful that it will happen, though. It looks like this would require major design changes in ipywidgets and/or jupyter-lab.
Motivated by #1399.
Could be done as a follow up to the progress bar callback PR 鉂わ笍
@tcwalther sorry, we don't want to add more dependencies to lightning.
If this is needed, then it should be added as a callback with a fresh implementation, but no dependencies :)
Perhaps a fast progress callback could be a good lightning bolt (https://github.com/PyTorchLightning/lightning-bolts)???
so open an issue there?
Most helpful comment
Perhaps a fast progress callback could be a good lightning bolt (https://github.com/PyTorchLightning/lightning-bolts)???