Skip to content

Add a utility to list cached things #972

@sgugger

Description

@sgugger

In Transformers, we have this function that returns the list of cached models. It would be nice to rely on an util in this repository instead (not limited to models) that would list:

  • cached repos
  • revisions cached for each repos (replacing commit hashes with refs when they exist)
  • files cached for a given repo and revision

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions