Skip to content

Pin transformers==4.57.6 and also figure out a migration path for legacy cache code #367

Closed

Description

@nrfulton

The huggingface backend uses DynamicCache.to_legacy_cache which was removed in transformers v5.

We need to figure out the new method you're supposed to use for getting tensors out of DynamicCache, but for now we can should at least pin transformers==4.57.6.

Activity

  1. changed the title [-]Pin `transformers==4.57.6` until we figure out a migration path for legacy cache code[/-] [+]Pin `transformers==4.57.6` and also figure out a migration path for legacy cache code[/+] on Jan 27, 2026
  2. self-assigned this
    on Jan 28, 2026
  3. removed their assignment
    on Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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