MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / setup_logging

Function setup_logging

util/misc.py:196–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 return reduced_dict
195
196def setup_logging():
197 logging.basicConfig(level=logging.INFO)
198 rank = dist.get_rank()
199 logging.info(f'Rank {rank} before all_reduce')
200
201class MetricLogger(object):
202 def __init__(self, delimiter='\t'):

Callers

nothing calls this directly

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected