Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

How to prefetch data? #660

@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