Skip to content

Optimum incompatible with recent Transformers versions #2372

@jackzhxng

Description

@jackzhxng

System Info

Optimum = 2.0.0
Python 3.10

Who can help?

More recent transformers versions don't have TF2_WEIGHTS_NAME available for import anymore, yet it is used in Optimum here. This means that Optimum ExecuTorch cannot utilize recent transformers versions to enable new models.

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 (minimal, reproducible, runnable)

Upgrade Optimum ET to most recent transformers version

Expected behavior

No error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions