accelerate
accelerate copied to clipboard
[feature request] implement `set_verbosity`
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.
Hello @muellerzr
I'm new to open source and just wondering to implement this set_verbosity
function we just need to tweak the get_logger
function and the logger.py
function to accept an additional argument for verbosity and pass it on to the PartialState
object?