Skip to content

[Stateful DL] Pre-emptive: ensure compatibility with out-of-order updates to torch.utils.data.DataLoader #1414

@andrewkho

Description

@andrewkho

🐛 Describe the bug

An in-order flag is being added to torch.utils.data.DataLoader, we should
a) ensure nothing breaks, due to inheritance
b) make sure the flag works as expected, and log a warning that state may not work reliably
c) figure out the state-management story for out-of-order iteration

see these 2 PRs for changes:
ttps://github.com/pytorch/pytorch/pull/141833
pytorch/pytorch#142324

Versions

nightly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions