src/transformers/models/git/modeling_git.py/GitVisionEncoder/__init__
class GitVisionEncoder:    def __init__(self, config: GitVisionConfig):
        super().__init__()
        self.config = config
        self.layers = nn.ModuleList([GitVisionEncoderLayer(config) for _ in range(config.num_hidden_layers)])
        self.gradient_checkpointing = False