Skip to content

Commit

Permalink
Make LoggingProxyWrapper report inf_step if requested (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
klashenriksson authored Dec 7, 2023
1 parent 349291f commit 24373cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions emote/memory/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ def get_report(
out_lists[key] = list(window)
out[key] = sum(window) / len(window)
out[f"{key}/cumulative"] = self.windowed_scalar_cumulative[key]
elif key == "inf_step":
out[key] = self.completed_inferences

return out, out_lists

Expand Down

0 comments on commit 24373cb

Please sign in to comment.