(*inputs)
| 391 | # 3. blocks |
| 392 | def create_custom_forward(module): |
| 393 | def custom_forward(*inputs): |
| 394 | return module(*inputs) |
| 395 | return custom_forward |
| 396 | for i, block in enumerate(self.blocks): |
| 397 | if self.training and use_gradient_checkpointing and not (isinstance(block, PushBlock) or isinstance(block, PopBlock) or isinstance(block, PopMixBlock)): |
nothing calls this directly
no outgoing calls
no test coverage detected