src/transformers/models/owlvit/modeling_owlvit.py/OwlViTEncoder/__init__
class OwlViTEncoder:    def __init__(self, config: OwlViTConfig):
        super().__init__()
        self.layers = nn.ModuleList([OwlViTEncoderLayer(config) for _ in range(config.num_hidden_layers)])
        self.gradient_checkpointing = False