Skip to content

Commit

Permalink
Clean up too-verbose logs (#2275)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #2275

Reviewed By: saitcakmak

Differential Revision: D54885250

fbshipit-source-id: 7c78c9704367873b70be1b755cfb2e0852b42c23
  • Loading branch information
Lena Kashtelyan authored and facebook-github-bot committed Mar 21, 2024
1 parent 0819fbd commit 45be1fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ax/service/utils/report_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ def _construct_comparison_message(
if (objective_minimize and (baseline_value <= comparison_value)) or (
not objective_minimize and (baseline_value >= comparison_value)
):
logger.info(
logger.debug(
f"compare_to_baseline: comparison arm {comparison_arm_name}"
+ f" did not beat baseline arm {baseline_arm_name}. "
)
Expand Down Expand Up @@ -1466,7 +1466,7 @@ def warn_if_unpredictable_metrics(
generation_strategy._fit_current_model(data=None)
model_bridge = cast(ModelBridge, generation_strategy.model)
if isinstance(model_bridge, RandomModelBridge):
logger.info(
logger.debug(
"Current modelbridge on GenerationStrategy is RandomModelBridge. "
"Not checking metric predictability."
)
Expand Down

0 comments on commit 45be1fb

Please sign in to comment.