Skip to content

How to prefetch data? #660

Closed
Closed
@speedcell4

Description

@speedcell4

Currently, the bottleneck of my model training is on the data loading part, is there any example about how to prefetch data? Like the pin_memory and num_workers arguments of torch.utils.data.DataLoader

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