File size: 948 Bytes
339f0eb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
description: Discover the role of dist.find_free_network_port & dist.generate_ddp_command in Ultralytics DDP utilities. Use our guide for efficient deployment.
keywords: Ultralytics, DDP, DDP utility functions, Distributed Data Processing, find free network port, generate DDP command
---

# Reference for `ultralytics/utils/dist.py`

!!! note

    Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/dist.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/dist.py). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) 🛠️. Thank you 🙏!

---
## ::: ultralytics.utils.dist.find_free_network_port
<br><br>

---
## ::: ultralytics.utils.dist.generate_ddp_file
<br><br>

---
## ::: ultralytics.utils.dist.generate_ddp_command
<br><br>

---
## ::: ultralytics.utils.dist.ddp_cleanup
<br><br>