src/transformers/models/groupvit/modeling_groupvit.py/GroupViTTextEncoder/__init__
class GroupViTTextEncoder:    def __init__(self, config: GroupViTTextConfig):
        super().__init__()
        self.config = config
        self.layers = nn.ModuleList([GroupViTEncoderLayer(config) for _ in range(config.num_hidden_layers)])
        self.gradient_checkpointing = False