Skip to content

Make fx traced model with the use of past_key_values pickable again? #30575

@michaelbenayoun

Description

@michaelbenayoun

With the support of the transformers.cache_utils.Cache classes when doing symbolic trace (#30259), it is not possible to pickle a traced model which uses past_key_values, should we work to add support for that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CompilationIssues related to torchdynamo and torchinductor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions