-
Notifications
You must be signed in to change notification settings - Fork 27.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transformers breaks when running setup.py #26276
Comments
A quick fix: update |
@ArthurZucker have you tested re installing Transformers after this update? huggingface-hub>=0.16.4,<1.0 won't solve the issue: because its installing huggingface_hub 0.17.4 and that will break it. |
I think tokenizers has to be updated at this point, since it's not using the latest dependency. cc @Narsil any reason why we limited to HF hub 0.17? |
@ArthurZucker Any updates on this? |
Yep, this PR was merged in tokenizers, we just need a release and this will be adressed |
System Info
Running
python setup.py install
in transformers folder throws this error:error: huggingface-hub 0.17.2 is installed but huggingface_hub<0.17,>=0.16.4 is required by {'tokenizers'}
This starts happening after merging this PR where line 175 was changed from:
from "tokenizers>=0.11.1,!=0.11.3,<0.14",
to "tokenizers>=0.14,<0.15",
#23909
when I change it back manually it works fine.
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Running
python setup.py install
in transformers folderExpected behavior
error: huggingface-hub 0.17.2 is installed but huggingface_hub<0.17,>=0.16.4 is required by {'tokenizers'}
The text was updated successfully, but these errors were encountered: