lol
This commit is contained in:
parent
ddc49c89c5
commit
d5c4aa0c03
|
@ -47,7 +47,7 @@ class Engine(DeepSpeedEngine):
|
|||
}
|
||||
|
||||
# kwargs['stats'] = None will return None when popped
|
||||
maybe_stats = kwargs.get('stats', stats)
|
||||
maybe_stats = kwargs.pop('stats', stats)
|
||||
if maybe_stats is not None:
|
||||
stats = maybe_stats
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user