MCPcopy Create free account
hub / github.com/FedML-AI/FedML / get_instance

Method get_instance

python/fedml/core/mlops/mlops_runtime_log.py:94–98  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

92
93 @staticmethod
94 def get_instance(args):
95 if MLOpsRuntimeLog._log_sdk_instance is None:
96 MLOpsRuntimeLog._log_sdk_instance = MLOpsRuntimeLog(args)
97
98 return MLOpsRuntimeLog._log_sdk_instance
99
100 def init_logs(self, show_stdout_log=True):
101 log_file_path, program_prefix = MLOpsRuntimeLog.build_log_file_path(self.args)

Callers 1

Calls 1

MLOpsRuntimeLogClass · 0.85

Tested by

no test coverage detected