Skip to content

Replace pickle with dill #108

Open
Open
@SimonG85

Description

@SimonG85

Dill is a fork of pickle that allows to serialise inner function (or class or whatever with inner structure).
In a pipeline to train multiple independent algos, pygad can be used on multiprocess, with multiprocess package (not multiprocessing).

I modified and used pygad with dill and it works as expected. Would you replace pickle? I have a fork on my GitHub with dill imported as pickle and everything goes smooth on my system and pygad is spawned on several core without problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions