MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / is_logging_process

Function is_logging_process

modeling/pi3/utils/basic.py:67–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 return K
66
67def is_logging_process():
68 return not dist.is_initialized() or dist.get_rank() == 0
69
70
71def get_logger(cfg, name=None):

Callers 1

get_loggerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected