Reformat Docs and YAMLs (#12806)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-05-18 22:17:57 +02:00 committed by GitHub
parent d25dd182d6
commit e8e434fe48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 325 additions and 324 deletions

View file

@ -93,12 +93,16 @@ sudo docker pull $t
## Running Ultralytics in Docker Container
Here's how to execute the Ultralytics Docker container:
### Using only the CPU
```bash
# Run with all GPUs
sudo docker run -it --ipc=host $t
```
### Using GPUs
```bash
# Run with all GPUs
sudo docker run -it --ipc=host --gpus all $t
@ -109,7 +113,6 @@ sudo docker run -it --ipc=host --gpus '"device=2,3"' $t
The `-it` flag assigns a pseudo-TTY and keeps stdin open, allowing you to interact with the container. The `--ipc=host` flag enables sharing of host's IPC namespace, essential for sharing memory between processes. The `--gpus` flag allows the container to access the host's GPUs.
## Running Ultralytics in Docker Container
Here's how to execute the Ultralytics Docker container: