MCPcopy Create free account
hub / github.com/RL-Align/RL-Kernel / __init__

Method __init__

tests/test_deepspeed_training_worker.py:118–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116
117class SpyLinearLogpOp:
118 def __init__(self):
119 self.calls = []
120 self._delegate = NativeLinearLogpOp()
121
122 def __call__(self, hidden, lm_head_weight, target_ids, bias=None, **kwargs):
123 self.calls.append(

Callers

nothing calls this directly

Calls 1

NativeLinearLogpOpClass · 0.90

Tested by

no test coverage detected