Skip to content

Bug in multi-gpu training #55

Description

@Pixie8888

Dear Author,

Thank you for sharing source code! But I find that when using CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 torchrun --master_port 10000 --nproc_per_node 8 train_tiktok.py , every gpu reads the same data in every iteration. I think you should add sampler for DDP in your code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions