Skip to content

Add DEIMv2 #41327

Closed
Closed

Description

@yonigozlan

Model description

Looks like DEIMv2 could be a great addition to the library.

I don't have the bandwidth right now to work on the integration, but happy to review a PR if anyone is interested in adding the model!

Open source status

  • The model implementation is available
  • The model weights are available

Provide useful links for the implementation

No response

Activity

  1. Vinayaktoor commented on Oct 3, 2025

    @Vinayaktoor

    Hi, I’d like to take this up and add DEIMv2 support.
    The plan is to:

    Integrate it into the existing pipeline (similar to how other models are registered).

    Ensure compatibility with the current configs and API.

    Add basic tests and documentation for usage.

    can you pls provide links that can help.

  2. shradiphylleia commented on Oct 3, 2025

    @shradiphylleia

    happy to help with tests once the model implementation is ready meanwhile anything else that could use an extra hand happy to help there too, saw the model comes in multiple variants with different numbers of parameters -is there a preferred variant ?

  3. yonigozlan commented on Oct 3, 2025

    @yonigozlan
    ContributorAuthor

    Hi @Vinayaktoor , here is a link that should help: https://huggingface.co/docs/transformers/en/modular_transformers#contributing-a-new-model-to-transformers

    Keep in mind that contributing a model is a lengthy and difficult task, so if this is your first contribution to transformers you might want to start with something easier first ;)

  4. Vinayaktoor commented on Oct 3, 2025

    @Vinayaktoor

    Really thankyou @yonigozlan ,I understand that it is my first contribution to transformers and adding a model is quite a big task, but I’d still like to take on the challenge and learn through the process.

  5. yonigozlan commented on Oct 3, 2025

    @yonigozlan
    ContributorAuthor

    Closing as duplicate of #41211

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions