Skip to content

Commit

Permalink
Update ignite/engine/engine.py
Browse files Browse the repository at this point in the history
Co-authored-by: vfdev <[email protected]>
  • Loading branch information
bonassifabio and vfdev-5 authored Dec 2, 2024
1 parent 5cbca17 commit c907d6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ignite/engine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,11 @@ def terminate():
4 34 | 9
2 Engine ended the run at 4 34
.. versionchanged:: 0.5.1
.. versionchanged:: 0.4.10
Behaviour changed, for details see https://github.com/pytorch/ignite/issues/2669
.. versionchanged:: 0.5.2
Added `skip_event_completed` flag
"""
self.logger.info("Terminate signaled. Engine will stop after current iteration is finished.")
self.should_terminate = True
Expand Down

0 comments on commit c907d6a

Please sign in to comment.