src/transformers/models/big_bird/modeling_big_bird.py/BigBirdPreTrainedModel/_set_gradient_checkpointing
class BigBirdPreTrainedModel:    def _set_gradient_checkpointing(self, module, value=False):
        if isinstance(module, BigBirdEncoder):
            module.gradient_checkpointing = value