[all-commits] [llvm/llvm-project] 99ea35: [MLGO] Fix logging verbosity in scripts (#107818)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Sep 9 11:35:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99ea357f7b5e7e01e42b8d68dd211dc304b3115b
      https://github.com/llvm/llvm-project/commit/99ea357f7b5e7e01e42b8d68dd211dc304b3115b
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/mlgo/corpus/combine_training_corpus.py
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py

  Log Message:
  -----------
  [MLGO] Fix logging verbosity in scripts (#107818)

This patch fixes issues related to logging verbosity in the MLGO python
scripts. This was an oversight when converting from absl.logging to the
python logging API as absl natively supports a --verbosity flag to set
the desired logging level. This patch adds a flag to support similar
functionality in Python's logging library and additionally updates
docstrings where relevant to point to the new values.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list