Skip to content

Loky backend sometimes randomly mixes items #68

@vovaf709

Description

@vovaf709

This test randomly fail but ideally it shouldn't

from dpipe.batch_iter import Loky
from dpipe.batch_iter.pipeline import wrap_pipeline

size = 100
    for i, item in enumerate(wrap_pipeline(range(size), Loky(lambda x: x ** 2, n_workers=2))):
        assert item == i ** 2

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