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

Method sub

verl/tests/single_controller/test_colocated_workers.py:47–49  ·  view source on GitHub ↗
(self, data: DataProto)

Source from the content-addressed store, hash-verified

45
46 @register(dispatch_mode=Dispatch.DP_COMPUTE_PROTO)
47 async def sub(self, data: DataProto):
48 data.batch["a"] -= self.config["b"]
49 return data
50
51
52def test_colocated_workers():

Calls

no outgoing calls

Tested by

no test coverage detected