MCPcopy
hub / github.com/deepspeedai/DeepSpeedExamples / is_time_to_exit

Function is_time_to_exit

bing_bert/utils.py:90–92  ·  view source on GitHub ↗
(args, epoch_steps=0, global_steps=0)

Source from the content-addressed store, hash-verified

88 return parser
89
90def is_time_to_exit(args, epoch_steps=0, global_steps=0):
91 return (epoch_steps >= args.max_steps_per_epoch) or \
92 (global_steps >= args.max_steps)
93

Callers 2

trainFunction · 0.90
runFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected