MCPcopy Index your code
hub / github.com/deepspeedai/DeepSpeedExamples / get_arguments

Function get_arguments

bing_bert/deepspeed_train.py:278–288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276 f'Train/lamb_coeffs', lamb_coeffs, global_step)
277
278def get_arguments():
279 parser = get_argument_parser()
280 # Include DeepSpeed configuration arguments
281 parser = deepspeed.add_config_arguments(parser)
282
283 args = parser.parse_args()
284
285 # no cuda mode is not supported
286 args.no_cuda = False
287
288 return args
289
290def construct_arguments():
291 args = get_arguments()

Callers 1

construct_argumentsFunction · 0.85

Calls 1

get_argument_parserFunction · 0.90

Tested by

no test coverage detected