Skip to content

Conversation

@lopho
Copy link

@lopho lopho commented Nov 24, 2025

The HF_HUB_ENABLE_HF_TRANSFER constant was removed from huggingface_hub.constants.
Placing the version check before accessing it avoids
AttributeError: module 'huggingface_hub.constants' has no attribute 'HF_HUB_ENABLE_HF_TRANSFER'

…SFER

HF_HUB_ENABLE_HF_TRANSFER constant was removed from huggingface_hub.
@narugo1992
Copy link
Contributor

solved in PR #76, we have a better solution for this
and after that PR, hfutils support huggingface_hub>=1 now
thank you for contribution

@narugo1992 narugo1992 closed this Dec 16, 2025
@lopho lopho deleted the patch-1 branch December 16, 2025 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants