def vit_large_patch32_224(pretrained=True, **kwargs):
    """
    ViT-Large (ViT-L/32) from original paper (https://arxiv.org/abs/2010.11929)
    No pretrained weights."""
    from avalanche.models.timm_vit import _create_vision_transformer

    model_kwargs = dict(patch_size=32, embed_dim=1024, depth=24, num_heads=16, **kwargs)
    model = _create_vision_transformer(
        "vit_large_patch32_224", pretrained=pretrained, **model_kwargs
    )
    return model

    ViT-Large (ViT-L/32) from original paper (https://arxiv.org/abs/2010.11929)
    No pretrained weights.
avalanche/models/vit.py