Skip to content

Commit 90d5549

Browse files
authored
docs: update ml-hardware-acceleration.md (#25755)
Update ml-hardware-acceleration.md Invert the lines about editing the docker-compose.yml file to have users add the tag to the image first, then uncomment the extends section. This should help users follow the instructions as they flow through the YAML file.
1 parent caeba50 commit 90d5549

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/docs/features/ml-hardware-acceleration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ You do not need to redo any machine learning jobs after enabling hardware accele
8686
## Setup
8787

8888
1. If you do not already have it, download the latest [`hwaccel.ml.yml`][hw-file] file and ensure it's in the same folder as the `docker-compose.yml`.
89-
2. In the `docker-compose.yml` under `immich-machine-learning`, uncomment the `extends` section and change `cpu` to the appropriate backend.
90-
3. Still in `immich-machine-learning`, add one of -[armnn, cuda, rocm, openvino, rknn] to the `image` section's tag at the end of the line.
89+
2. In `immich-machine-learning`, add one of -[armnn, cuda, rocm, openvino, rknn] to the `image` section's tag at the end of the line.
90+
3. Still in the `docker-compose.yml` under `immich-machine-learning`, uncomment the `extends` section and change `cpu` to the appropriate backend.
9191
4. Redeploy the `immich-machine-learning` container with these updated settings.
9292

9393
### Confirming Device Usage

0 commit comments

Comments
 (0)