Skip to content
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

Dask LocalClient breaks spacy models. #1

Open
rtbs-dev opened this issue Jun 17, 2020 · 0 comments
Open

Dask LocalClient breaks spacy models. #1

rtbs-dev opened this issue Jun 17, 2020 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@rtbs-dev
Copy link
Collaborator

It appears that having a running dask client scheduler means that the individual workers cannot get called (get_workers() returns None), and trying to load a spacy/scispacy model installed in the activated environment means the workers cannot access the model. Running the non-client dask routines seems to work fine, if slower.

This seems in contrast with the "closed" issue/workaround here: explosion/spaCy#5111

The Code here is built around trying to use that workaround for a decorator factory, to allow arbitrary functions. Not currently working (may have to wait for spacy v3?).

@rtbs-dev rtbs-dev added bug Something isn't working help wanted Extra attention is needed labels Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant