Skip to content

T5 export failure #123

@jackzhxng

Description

@jackzhxng

See error trace here - https://github.com/huggingface/optimum-executorch/actions/runs/16994343556/job/48181308316?pr=117.

Should affect all seq2seq models such as Whisper - the transformers bump introduces at least two problems to deal with:

  • is_updated not initialized outside of if statement
    • Fix is potentially a transformers upstream
  • The cache not being a EncoderDecoderCache, since we use Seq2SeqLMDecoderExportableModuleWithStaticCache to export the decoder
    • Fix is to add a new class Seq2SeqLMDecoderExportableModuleWithEncoderDecoderCache that has a self attention and cross attention cache

Metadata

Metadata

Assignees

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