allenai / cached_path

A file utility for accessing both local and remote files through a unified interface.
https://cached-path.readthedocs.io/
Apache License 2.0
35 stars 12 forks source link

Dependency clash between latest Transformers release and cached_path #206

Closed sidharthrajaram closed 10 months ago

sidharthrajaram commented 10 months ago

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!

epwalsh commented 10 months ago

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.

epwalsh commented 10 months ago

Closed via v1.5.1.