MCPcopy Create free account
hub / github.com/BeastyZ/ConvSearch-R1 / do_nothing

Method do_nothing

verl/tests/ray/test_data_transfer.py:44–49  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

42
43 @register(dispatch_mode=Dispatch.DP_COMPUTE, blocking=False)
44 def do_nothing(self, data):
45 for key in data.batch.keys():
46 data.batch[key] += 1
47 if tensordict.__version__ >= '0.5.0':
48 data.batch = data.batch.consolidate()
49 return data
50
51
52def test_data_transfer():

Callers 1

test_data_transferFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected