allenai / cached_path

A file utility for accessing both local and remote files through a unified interface.

Home Page:https://cached-path.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency clash between latest Transformers release and cached_path

sidharthrajaram opened this issue · comments

Are there plans to remove the dependency constraint on huggingface-hub < 0.19.0?

The latest releases of Hugging Face's Transformers API rely on attributes (namely, huggingface_hub.constants.HF_HUB_CACHE) that are only defined in the latest release of huggingface-hub.

As a result, the constraint in this library is leading to a situation where a dependency on latest Transformers release and cached_path cannot be resolved.

Thank you!

commented

Hey @sidharthrajaram no problem, CI is passing with the latest HF-hub so I'll cut a new release of cached-path with that right now.

commented

Closed via v1.5.1.