MCPcopy Index your code
hub / github.com/THUDM/GLM / _worker

Function _worker

scripts/dispatcher.py:216–221  ·  view source on GitHub ↗
(gpu, queue, done_queue, args)

Source from the content-addressed store, hash-verified

214
215
216def _worker(gpu, queue, done_queue, args):
217 while not queue.empty():
218 config = queue.get()
219 if config is None:
220 return
221 done_queue.put(_launch_experiment(gpu, config, args))
222
223
224def _launch_experiment(gpu, config, args):

Callers

nothing calls this directly

Calls 1

_launch_experimentFunction · 0.85

Tested by

no test coverage detected