huggingface / huggingface/accelerate

[feature request] implement `set_verbosity`

Open
#1,066 1 comment 0 reactions 1 assignee Claimed by @muellerzr View on GitHub
enhancement feature request
Dominant language
Python
Stars
9.9k
Forks
1.5k
Avg merge
5d 2h
Merged PRs (30d)
27

Description

requesting to implement `set_verbosity` as in `transformers` and `datasets` so that the user could control the level of verbosity from `accelerate`. e.g. https://github.com/huggingface/transformers/blob/8c5026628a29a89cf122bc1c95cff8101f78c7c0/src/transformers/utils/logging.py#L149-L165

From previous experience of doing that the easiest usually is to copy `logging.py` as it already provides a rich set of this and other logging features. And adapt `s/transformers/accelerate/g` and `s/TRANSFORMERS/ACCELERATE/g`.

Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.