(module)
| 145 | if self.training and self.gradient_checkpointing: |
| 146 | |
| 147 | def create_custom_forward(module): |
| 148 | def custom_forward(*inputs): |
| 149 | return module(*inputs) |
| 150 | |
| 151 | return custom_forward |
| 152 | |
| 153 | # down |
| 154 | if is_torch_version(">=", "1.11.0"): |
nothing calls this directly
no outgoing calls
no test coverage detected