v3.5 models in conda-forge? #12212
-
Should there be a new set of v3.5.0 models in conda-forge to match the release of spaCY v.3.5? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Sorry this is confusing. The conda-forge models are unofficial mirrors and we don't control them. We recommend installing pretrained pipelines using |
Beta Was this translation helpful? Give feedback.
-
Just to follow up... I tried using spaCy to install the models and ran into trouble. As soon as I installed the 'en_core_web_trf' model my installation broke. My site may be bit unconventional in terms of configuration, or maybe I'm just doing something stupid, but I'll document here just in case it can help someone in the future. Here's the basic steps. I had to elide much of the outputs to keep it managable.
So, everything installs fine until the 'trf' model. Then the library paths for loading shared objects gets "corrupted". It's interesting to note that if you're on a new enough system the system /lib64/libstdc++ might be new enough that it will work. You'll be using the wrong library (i.e. not the one in the Python space) and never even know it. But, because I'm on an older CentOS box things break. This is getting beyond my area of expertise, but I tried seeing what the loader was doing and it looked to me like after loading the trf model there are some cuda libraries that maybe corrupt where things get looked for (or what gets cached). I don't have a GPU and don't really need CUDA libraries but it seems to want to load a bunch of needless stuff anyway. I don't now how to just turn of those libraries and see if it fixes the problem. Since I started debugging this the 3.5 models have made it into conda-forge. (Thanks to whoever does that ;^)) I did try installing things from there (which is my usual way of doing things) and everything works fine (so far). It's kinda hard to make apples-to-apples comparison because the spaCy install brings in torch 1.13.1 from pypi whereas the conda-forge install gets 1.12.1 from conda-forge. Anyway hope that helps someone in the future. |
Beta Was this translation helpful? Give feedback.
Sorry this is confusing. The conda-forge models are unofficial mirrors and we don't control them. We recommend installing pretrained pipelines using
spacy download
, as outlined in the install widget.