Skip to content

AutoModelForVision2Seq.from_config() got an unexpected keyword argument 'torch_dtype' #40477

@ljeff97

Description

@ljeff97

System Info

AutoModelForVision2Seq.from_config() got an unexpected keyword argument 'torch_dtype'
transformers >= 4.54.1

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

AutoModelForVision2Seq.from_config() got an unexpected keyword argument 'torch_dtype'
transformers >= 4.54.1

Expected behavior

fix error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions