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

Method add

verl/tests/single_controller/test_auto_padding_on_cpu.py:35–37  ·  view source on GitHub ↗
(self, data: DataProto)

Source from the content-addressed store, hash-verified

33
34 @register(dispatch_mode=Dispatch.DP_COMPUTE_PROTO)
35 def add(self, data: DataProto):
36 data.batch["a"] += self.rank
37 return data
38
39
40def test_auto_padding():

Callers 1

test_auto_paddingFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected