Skip to content

[Tracking Issue]: Use merge_by_field_config for MM models #26149

@DarkLight1337

Description

@DarkLight1337

🚀 The feature, motivation and pitch

Implement #25676 for each MM model so input shapes are the same as their HF implementations, i.e. no need to use flatten_bn anymore.

I'm going through the list in mostly alphabetical order:

After all models have been migrated, I will try to merge TensorSchema with MultiModalFieldConfig so we can apply validation inside processor instead of model forward pass (which is the critical path)

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions