Commit d32d4fc
Fix progress_printer using wrong variable in on_test_batch_end (#15064)
The on_test_batch_end() method was incorrectly referencing
self.total_validation_steps instead of self.total_test_steps,
causing an AttributeError when running trainer.test() since
total_validation_steps may not be initialized during testing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 459a177 commit d32d4fc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
0 commit comments