Skip to content

[NEW MODEL] MViTV2 #38695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

kamila-chay
Copy link

@kamila-chay kamila-chay commented Jun 9, 2025

What does this PR do?

This PR introduces MViT, which is the basis for MeMViT, which is a video transformer that got requested in the issue below. I'm currently doing research in fine-grained video understanding and MeMViT happens to be able to process long video sequences. Unfortunately it's only available from the oficial FAIR repo which can be hard to integrate. That's why I decided to implement it here, but to make things cleaner and more modular I started with MViTv2 which is also a great vision transformer (mainly for image-related tasks)

Fixes 20545

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

@amyeroberts @qubvel

@kamila-chay kamila-chay force-pushed the add_mvit_support_before_memvit branch from b793b02 to 88a4ad6 Compare June 10, 2025 15:49
@kamila-chay kamila-chay marked this pull request as ready for review June 10, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add MeMViT model
1 participant