This commit is contained in:
2025-03-03 21:53:02 +01:00
parent fee4a7c94b
commit f1c661a3d6

View File

@ -15,7 +15,7 @@ services:
extends: extends:
file: hwaccel.transcoding.yml file: hwaccel.transcoding.yml
#service: vaapi # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding #service: vaapi # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
service: ${HW_MODE1:-vaapi} service: ${HW_MODE1:-cpu}
volumes: volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- /share/docker_data/immich/library:/usr/src/app/upload - /share/docker_data/immich/library:/usr/src/app/upload
@ -53,7 +53,7 @@ services:
extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
file: hwaccel.ml.yml file: hwaccel.ml.yml
#service: openvino # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable #service: openvino # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
service: ${HW_MODE2:-openvino} service: ${HW_MODE2:-cpu}
volumes: volumes:
- model-cache:/cache - model-cache:/cache
env_file: env_file: