Skip to content

Commit 8a11e8e

Browse files
metaflowGoogle-ML-Automation
authored andcommitted
[XLA] do not log warnings from hlo pass
PiperOrigin-RevId: 715326657
1 parent bc7ec58 commit 8a11e8e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

xla/hlo/pass/hlo_pass_fix.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ class HloPassFix : public Pass {
7777
VLOG(3) << "changed_this_iteration: " << changed_this_iteration;
7878
++iteration_count;
7979
if (iteration_count == kIterationLimit) {
80-
LOG(WARNING) << "Unexpectedly high number of iterations in HLO passes, "
81-
"exiting fixed point loop.";
80+
VLOG(1) << "Unexpectedly high number of iterations in HLO passes, "
81+
"exiting fixed point loop.";
8282
// Return false in case this is fixed point is nested.
8383
return false;
8484
}
@@ -99,9 +99,9 @@ class HloPassFix : public Pass {
9999
<< !run_state->changed_last_iteration.empty();
100100
run_state->IncrementIteration();
101101
if (run_state->iteration == kIterationLimit) {
102-
LOG(WARNING) << "Unexpectedly high number of iterations in HLO passes '"
103-
<< Pass::name() << "' for module '" << module->name()
104-
<< "'. Exiting fixed point loop.";
102+
VLOG(1) << "Unexpectedly high number of iterations in HLO passes '"
103+
<< Pass::name() << "' for module '" << module->name()
104+
<< "'. Exiting fixed point loop.";
105105
// Clear changed and abort in case this is fixed point is nested.
106106
run_state->changed.clear();
107107
break;

0 commit comments

Comments
 (0)