Commit f2e1c70
Use debug logging for early stopping decisions that get filtered downstream (facebook#4652)
Summary:
Pull Request resolved: facebook#4652
The early stopping strategy was logging at info level for routine decisions, cluttering logs during optimization runs. Additionally, when `should_early_stop` returns False, the trial index and reason messages are filtered out downstream, so these messages were never being surfaced anyway. Changed logging to debug level to reduce noise while still preserving the information for debugging when needed.
Reviewed By: saitcakmak
Differential Revision: D88914755
fbshipit-source-id: 47b0dd88e6408eeecfb1770f8541ce4047bf61951 parent 7cf33bd commit f2e1c70
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
308 | 310 | | |
309 | 311 | | |
310 | 312 | | |
| |||
329 | 331 | | |
330 | 332 | | |
331 | 333 | | |
332 | | - | |
| 334 | + | |
333 | 335 | | |
334 | 336 | | |
335 | 337 | | |
| |||
363 | 365 | | |
364 | 366 | | |
365 | 367 | | |
366 | | - | |
367 | | - | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
0 commit comments