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
It seems that this was fixed back on Jan 3rd (source). It appears to me that Spacy does not require transformers (source), however spacy-transformers does (source) and allows for transformers >=3.4.0,<4.42.0 . The commit that fixed this belongs to 4.37.0 so @hdaipteam you might want to bump your local version of transformers
How to reproduce the behaviour
nlp = spacy.load("en_core_web_sm")
Your Environment
I cought the warning if I am loading the pre-defined model in both version of SpaCy Latest / Dev
python3.11/site-packages/transformers/utils/generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
_torch_pytree._register_pytree_node(
The text was updated successfully, but these errors were encountered: