transformers
d6ac8f4a - Initialize _tqdm_active with hf_hub_utils.are_progress_bars_disabled(… (#28717)

Commit
2 years ago
Initialize _tqdm_active with hf_hub_utils.are_progress_bars_disabled(… (#28717) Initialize _tqdm_active with hf_hub_utils.are_progress_bars_disabled() to respect HF_HUB_DISABLE_PROGRESS_BARS It seems like enable_progress_bar() and disable_progress_bar() sync up with huggingface_hub, but the initial value is always True. This changes will make sure the user's preference is respected implicity on initialization.
Author
Parents
Loading