MCPcopy
hub / github.com/hkust-nlp/simpleRL-reason / func

Function func

verl/single_controller/ray/base.py:38–44  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

36def func_generator(self, method_name, dispatch_fn, collect_fn, execute_fn, blocking):
37
38 def func(*args, **kwargs):
39 args, kwargs = dispatch_fn(self, *args, **kwargs)
40 output = execute_fn(method_name, *args, **kwargs)
41 if blocking:
42 output = ray.get(output)
43 output = collect_fn(self, output)
44 return output
45
46 return func
47

Callers 5

estimate_flopsMethod · 0.85
innerFunction · 0.85
get_simple_examplesFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected