MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / get_checkpoint_path

Function get_checkpoint_path

tests/tools.py:224–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222
223
224def get_checkpoint_path() -> str:
225 path = os.environ.get(CHECKPOINT_ROOT_DIR_ENV_VAR)
226 if not path:
227 raise EnvironmentError(
228 f"Please set `export {CHECKPOINT_ROOT_DIR_ENV_VAR}=<your_checkpoint_dir>` before running this test."
229 )
230 return path
231
232
233def get_vision_language_model_path() -> str:

Callers 15

setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
test_multi_stage_runMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
test_fully_async_modeMethod · 0.90
tearDownMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90

Calls 1

getMethod · 0.45

Tested by 15

setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
test_multi_stage_runMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
test_fully_async_modeMethod · 0.72
tearDownMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72