src/transformers/models/imagegpt/modeling_imagegpt.py/ImageGPTForCausalImageModeling/__init__
class ImageGPTForCausalImageModeling:    def __init__(self, config: ImageGPTConfig):
        super().__init__(config)
        self.transformer = ImageGPTModel(config)
        self.lm_head = nn.Linear(config.n_embd, config.vocab_size - 1, bias=False)

        # Model parallel
        self.model_parallel = False
        self.device_map = None
        # Initialize weights and apply final processing
        self.post_init()