immich: use gpu

This commit is contained in:
Victor Ișan 2026-05-25 22:20:28 +02:00
parent 24c1d9e600
commit 214cc98f81

View File

@ -54,11 +54,15 @@ in
immich-machine-learning = { immich-machine-learning = {
autoStart = true; autoStart = true;
image = "ghcr.io/immich-app/immich-machine-learning:v2"; image = "ghcr.io/immich-app/immich-machine-learning:v2-cuda";
volumes = [ volumes = [
"${workDir}/cache:/cache" "${workDir}/cache:/cache"
]; ];
extraOptions = [
"--device=nvidia.com/gpu=all"
];
}; };
immich-redis = { immich-redis = {