src/transformers/models/mctct/modeling_mctct.py/MCTCTPreTrainedModel/_set_gradient_checkpointing
class MCTCTPreTrainedModel:    def _set_gradient_checkpointing(self, module, value=False):
        if isinstance(module, (MCTCTEncoder)):
            module.gradient_checkpointing = value