[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
1ffcab52b8
commit
67dfd3a2bb
1 changed files with 5 additions and 1 deletions
|
|
@ -193,7 +193,11 @@ class DiffusionTrainingService:
|
|||
if ev.get("type") in _TERMINAL:
|
||||
return
|
||||
|
||||
def _apply_event(self, ev: dict[str, Any], proc: Any = None) -> None:
|
||||
def _apply_event(
|
||||
self,
|
||||
ev: dict[str, Any],
|
||||
proc: Any = None,
|
||||
) -> None:
|
||||
"""Fold one trainer event into the status snapshot. Pure state update -- unit
|
||||
tested by feeding events directly. ``proc`` (when given) fences a stale pump:
|
||||
an event from a superseded job's process must not touch the current job's
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue