You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since models are in fact pip modules, it makes sense that they have their own dependencies. However, I was very surprised to find out that nl_core_news_sm required me to downgrade my transformers version. I am running on the main branch of transformers so ahead of 4.45.2 (4.46.0.dev0). yet when installing nl-core-news-sm I find the transformers version to be downgraded to the pip release. To me that sounds like a bug but maybe this is intended behavior to avoid conflicts for the average user.
As a power user that restriction is a bit too strong, though. As per semver, no breaking changes ought to be introduced with minor version bumps so it would be surprising to see major shifts. (Disclaimer: I'm not sure how closely HF follows semver.)
spaCy version 3.8.2
Location /home/local/vanroy/defgen/.venv/lib/python3.10/site-packages/spacy
Platform Linux-5.14.0-427.20.1.el9_4.x86_64-x86_64-with-glibc2.34
Python version 3.10.15
Pipelines nl_core_news_sm (3.8.0)
If the restriction cannot be relieved a bit, do you have another suggestion to by-pass this? I am willing to build things from source if needed, though I am not sure how to do that with the mode files.
The text was updated successfully, but these errors were encountered:
Since models are in fact pip modules, it makes sense that they have their own dependencies. However, I was very surprised to find out that
nl_core_news_sm
required me to downgrade mytransformers
version. I am running on the main branch oftransformers
so ahead of 4.45.2 (4.46.0.dev0
). yet when installingnl-core-news-sm
I find the transformers version to be downgraded to the pip release. To me that sounds like a bug but maybe this is intended behavior to avoid conflicts for the average user.As a power user that restriction is a bit too strong, though. As per semver, no breaking changes ought to be introduced with minor version bumps so it would be surprising to see major shifts. (Disclaimer: I'm not sure how closely HF follows semver.)
spaCy version 3.8.2
Location /home/local/vanroy/defgen/.venv/lib/python3.10/site-packages/spacy
Platform Linux-5.14.0-427.20.1.el9_4.x86_64-x86_64-with-glibc2.34
Python version 3.10.15
Pipelines nl_core_news_sm (3.8.0)
If the restriction cannot be relieved a bit, do you have another suggestion to by-pass this? I am willing to build things from source if needed, though I am not sure how to do that with the mode files.
The text was updated successfully, but these errors were encountered: