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

Method read

trinity/buffer/storage/file.py:68–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 self.file.flush()
67
68 def read(self) -> List:
69 raise NotImplementedError(
70 "read() is not implemented for FILE Storage, please use QUEUE instead"
71 )
72
73 def acquire(self) -> int:
74 self.ref_count += 1

Callers 15

process_experienceFunction · 0.45
explore_stepMethod · 0.45
evalMethod · 0.45
debugMethod · 0.45
sampleMethod · 0.45
sampleMethod · 0.45
sampleMethod · 0.45
prepareMethod · 0.45
validateMethod · 0.45
get_latest_state_dictFunction · 0.45
get_verl_checkpoint_infoFunction · 0.45

Calls

no outgoing calls

Tested by 14

test_serveMethod · 0.36
thread_readMethod · 0.36
test_read_taskMethod · 0.36
test_file_readerMethod · 0.36
test_trainerMethod · 0.36