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
Tasks
Reproduction (minimal, reproducible, runnable)
Upgrade Optimum ET to most recent transformers version
Expected behavior
No error
System Info
Who can help?
More recent transformers versions don't have
TF2_WEIGHTS_NAMEavailable 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
Tasks
examplesfolder (such as GLUE/SQuAD, ...)Reproduction (minimal, reproducible, runnable)
Upgrade Optimum ET to most recent transformers version
Expected behavior
No error