# What are the recommended practices on how to use DDP with wandb?

**URL:** <https://community.wandb.ai/t/what-are-the-recommended-practices-on-how-to-use-ddp-with-wandb/502>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [September 10, 2021, 4:03pm UTC](https://community.wandb.ai/t/what-are-the-recommended-practices-on-how-to-use-ddp-with-wandb/502 "2021-09-10T16:03:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brando](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/brando/32/199_2.png) [@brando](https://community.wandb.ai/u/brando)\
**Post date:** [September 10, 2021, 4:03pm UTC](https://community.wandb.ai/t/what-are-the-recommended-practices-on-how-to-use-ddp-with-wandb/502/1 "2021-09-10T16:03:45Z")

</div>

I often use distributed data laoders in pytorch DDP and often just check the rank and have only rank 0 log. Is that the recommended way to use DDP and wandb?

Thanks!

---

<div class="post-metadata">

**Author:** ![bhutanisanyam1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/bhutanisanyam1/32/18_2.png) [@bhutanisanyam1](https://community.wandb.ai/u/bhutanisanyam1)\
**Post date:** [September 13, 2021, 5:17pm UTC](https://community.wandb.ai/t/what-are-the-recommended-practices-on-how-to-use-ddp-with-wandb/502/2 "2021-09-13T17:17:20Z")

</div>

[Here](https://docs.wandb.ai/guides/track/advanced/distributed-training#logging-distributed-training-experiments-with-w-and-b) is link to the docs sharing the relevant suggestions. Please let me know incase you have any follow up Qs 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [April 20, 2022, 6:02pm UTC](https://community.wandb.ai/t/what-are-the-recommended-practices-on-how-to-use-ddp-with-wandb/502/3 "2022-04-20T18:02:05Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
