Skip to content

transfomers VLM base model change #713

Closed

Description

@Tcc0403

🚀 The feature, motivation and pitch

Upcoming refactor in transformers VLM models: huggingface/transformers#37033

XXXForConditionalGeneration no longer has language_model attribute for ForCausalLM. It will be changed to model attribute to hold the base model instead. language_model is available throught conditional class for backward compatiblity.

The patchings (monkey_patch and flce forward method) of VLMs in Liger Kernel will have to confront the changes.

Alternatives

No response

Additional context

No response

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions