-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add progressbar unload/merge #753
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, thanks.
tqdm is indeed an indirect dependency via datasets.
As to the new option, I would personally prefer to have the default be False
, as that is the current behavior and personally, I often find the tqdm outputs to be annoying.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this feature @BramVanroy ! Yes agreed with @BenjaminBossan let's maybe default the behaviour to match the previous one
Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @BramVanroy for adding this! 🤗
Adds an optional progressbar when merge_and_unloading a model to indicate to users that the code is not "hanging" but actually still doing something. The progress bar is enabled by default but can be disabled.
TQDM has been explicitly added to the requirements, although it is probably already installed as dependency of the other libraries like torch or transformers.
closes #667