MCPcopy Create free account
hub / github.com/InternLM/InternBootcamp / get_event_loop

Function get_event_loop

verl/verl/utils/ray_utils.py:87–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85
86
87def get_event_loop():
88 try:
89 loop = asyncio.get_event_loop()
90 except RuntimeError:
91 loop = asyncio.new_event_loop()
92 asyncio.set_event_loop(loop)
93
94 return loop
95
96
97def auto_await(func):

Callers 11

add_token2textFunction · 0.90
generate_sequencesMethod · 0.90
generate_sequencesMethod · 0.90
single_compute_scoreFunction · 0.90
extract_tool_callsMethod · 0.90
extract_tool_callsMethod · 0.90
__init__Method · 0.90
sync_rollout_weightsMethod · 0.90
sync_rollout_weightsMethod · 0.90
__init__Method · 0.90
acquireMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected