From 90d554947faf5af1b405af17aabc34f40ed6101c Mon Sep 17 00:00:00 2001 From: Claudio Date: Tue, 10 Feb 2026 18:28:21 +0100 Subject: [PATCH] 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. --- docs/docs/features/ml-hardware-acceleration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/features/ml-hardware-acceleration.md b/docs/docs/features/ml-hardware-acceleration.md index 685f23932c..059cf9a115 100644 --- a/docs/docs/features/ml-hardware-acceleration.md +++ b/docs/docs/features/ml-hardware-acceleration.md @@ -86,8 +86,8 @@ You do not need to redo any machine learning jobs after enabling hardware accele ## Setup 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`. -2. In the `docker-compose.yml` under `immich-machine-learning`, uncomment the `extends` section and change `cpu` to the appropriate backend. -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. +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. +3. Still in the `docker-compose.yml` under `immich-machine-learning`, uncomment the `extends` section and change `cpu` to the appropriate backend. 4. Redeploy the `immich-machine-learning` container with these updated settings. ### Confirming Device Usage