Skip to content

Vision Transformer Model Enhancements #82

@FWao

Description

@FWao

After merging #80 more optimization can possibly be applied:

  • Evaluate if the attn_mask (mask out padded inputs and cls token) is necessary for training
  • Evaluate if we can change the feed-forward dimension back to 512 (like in torch.v1)
  • Try to implement torch.compile for deployment (probably not working due to variable input shapes) and for preprocessing

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions