Train in DDP Multi GPU and launch Validation on Single GPU during training #16336
Unanswered
thad75
asked this question in
DDP / multi-GPU / multi-node
Replies: 2 comments
|
Usually, we need to keep all GPUs working. Set |
0 replies
|
Ultralytics achieves this in their trainers script by creating the validation dataloader on rank zero only, not using distributed sampler for validation and performing the validation loop on rank 0 only. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I was wondering if there was a way to launch a validation step on a single Gpu, while training_step is on multiple gpu ?
Thank you
All reactions