-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fastprogress callback #2
Comments
Now that we have the progress bar as callback, we should be able to easily replace tqdm with fastprogress and provide an alternative callback. |
but we don't want to add fastai as a dependency no? or i guess this is a separate smaller repo. oh this is bolts lol... sure, that works i think |
|
I played around a bit with fastprogress, and found some shortcomings.
It may be nicer in notebooks, but overall imo it is inferior to tqdm. |
nice makes sense. maybe we should look at extending tqdm to work well with notebooks? |
Just want to share my experience:
I had tried to integrate it in the past and yes, it falls short for the points listed by @awaelchli
This looks like a good idea! all we need is the ability to print between the two progress bars. The master progress_bar will serve as a complete training progress (max=no. of epochs) and the child will serve the current epoch progress. Once we've the ability to write between the progress bars, I'll be able to integrate my PrintCallback |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
🚀 Feature
Copied from Lightning-AI/pytorch-lightning#1500 by @tcwalther
Use https://github.com/fastai/fastprogress instead of tqdm for displaying progress bars.
Motivation
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: jupyter-widgets/ipywidgets#1845
The Fast.ai people developed fastprogress as a replacement for exactly this reason.
Pitch
Option to replace tqdm with fastprogress.
Alternatives
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.
Additional context
Motivated by #1399.
The text was updated successfully, but these errors were encountered: