MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / get_debug_log_name

Function get_debug_log_name

deepspeed/comm/utils.py:129–133  ·  view source on GitHub ↗
(func_args, debug)

Source from the content-addressed store, hash-verified

127
128
129def get_debug_log_name(func_args, debug):
130 if debug:
131 return func_args['log_name'] + ' | [Caller Func: ' + get_caller_func() + ']'
132 else:
133 return func_args['log_name']

Callers 1

log_wrapperFunction · 0.85

Calls 1

get_caller_funcFunction · 0.90

Tested by

no test coverage detected