Skip to content

Dask LocalClient breaks spacy models.  #1

@rtbs-dev

Description

@rtbs-dev

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?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions