Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练时间 #6

Open
YDB04234 opened this issue Mar 1, 2025 · 2 comments
Open

训练时间 #6

YDB04234 opened this issue Mar 1, 2025 · 2 comments

Comments

@YDB04234
Copy link

YDB04234 commented Mar 1, 2025

作者您好,首先恭喜您中刊,文章很棒,

请问您50000次迭代的训练时间是多少,我这里采用DDP训练gpu利用率100%但是,1张卡和4张卡训练速度是相同的,您知道是为什么吗

@undcloud
Copy link

dataset = MyDataset()
sampler = DistributedSampler(dataset)
dataloader = DataLoader(dataset, batch_size=bsz, sampler=sampler, num_workers=8)

@undcloud
Copy link

4090 single card According to the default settings of train.py, each round takes 3 hours

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants