Skip to content

Vision Transformer Model Enhancements #82

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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