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
Hey @Bonnevie, sorry the late reply, it appears to me that you are pointing to the commit on Apr 23rd, whereas mine points to May 30th, source, which is the latest one. Does this make sense on your end?
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: