Skip to content

Commit

Permalink
Don't hardcode the logger level to INFO; let users set TRANSFORMERS_V…
Browse files Browse the repository at this point in the history
…ERBOSITY (#2047)

And keep the default as Warning, i.e. the expected for Python modules
  • Loading branch information
tomaarsen authored Oct 11, 2024
1 parent 6172e96 commit eb6f5de
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion optimum/exporters/onnx/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
from .base import OnnxConfig

logger = logging.get_logger()
logger.setLevel(logging.INFO)


def main_export(
Expand Down
1 change: 0 additions & 1 deletion optimum/exporters/tflite/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@


logger = logging.get_logger()
logger.setLevel(logging.INFO)


def main():
Expand Down
1 change: 0 additions & 1 deletion optimum/onnx/transformations_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@


logger = logging.get_logger()
logger.setLevel(logging.INFO)


def _find_duplicate_initializers(
Expand Down

0 comments on commit eb6f5de

Please sign in to comment.