Skip to content

Support more parallelism backends? #2

@wint3ria

Description

@wint3ria

I see punpy uses builtin multiprocessing pools to parallelise its computations. Would it be possible to support other parallelism backends? Assuming a pure functional measurement function, it would be theoretically possible to launch it anywhere?

I am thinking about Dask RN. Supporting such a framework would allow to easily launch computations on many machines, which could be helpful when the measurement function is expensive to compute.

I believe it would be feasible to abstract the computation backend, so that users may use whatever they need/want, instead of importing a non-builtin parallelism backend as a new dependency for Punpy. multiprocessing.Pool would then be the default backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions