MCPcopy Create free account
hub / github.com/AI-Hypercomputer/maxtext / record_goodput

Function record_goodput

src/MaxText/utils/goodput_utils.py:89–94  ·  view source on GitHub ↗

Record goodput to cloud logging.

(recorder, event_name, *args)

Source from the content-addressed store, hash-verified

87
88
89def record_goodput(recorder, event_name, *args):
90 """Record goodput to cloud logging."""
91 if recorder:
92 record_func = getattr(recorder, event_name, None)
93 if record_func:
94 record_func(*args)
95
96
97def create_goodput_recorder(config):

Callers 2

on_train_step_startMethod · 0.90
maybe_record_goodputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected