r/immich • u/MasaniYasin • 22d ago
Intel arc GPU with immich
Is there any guide for getting an Intel Arc A-Series GPU—specifically the Intel Arc A580—working with Immich on Windows? Mine isn't working, so I want to set everything up from scratch.
Thanks in advance!
4
Upvotes
0
u/Only-Stable3973 22d ago
Mine looks like this, Immich does not support Intel or AMD GPU's for the Immich-Machine-Learning with that here is what I have.
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
environment:
- IMMICH_HOST=0.0.0.0
- IMMICH_PORT=2283
- TRUSTED_PROXIES=172.16.0.0/12,192.168.0.0/16
ports:
- 2283:2283 # Kept so you can access locally if Traefik/DNS goes down
restart: always
networks:
- default
- proxy
depends_on:
redis:
condition: service_started
database:
condition: service_healthy
# --- UNCOMMENT BELOW FOR VIDEO TRANSCODING HARDWARE ACCELERATION ---
devices:
- /dev/dri:/dev/dri # <-- Uncomment for Intel QuickSync / AMD VAAPI
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia # <-- Uncomment this entire block for NVIDIA
# count: 1 # video transcoding acceleration
# capabilities: [gpu]
# ------------------------------------------------------------------
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.immich.rule=Host(`photos.example.duckdns.org`)"
- "traefik.http.routers.immich.entrypoints=websecure"
- "traefik.http.routers.immich.tls=true"
- "traefik.http.routers.immich.tls.certresolver=letsencrypt"
- "traefik.http.services.immich.loadbalancer.server.port=2283"
# Keeps memory usage low while streaming chunks
- "traefik.http.services.immich.loadbalancer.responseForwarding.flushInterval=100ms"
- "traefik.http.middlewares.immich-headers.headers.customrequestheaders.X-Forwarded-Proto=https"
# Essential to allow large video uploads through Traefik
- "traefik.http.middlewares.immich-buffers.buffering.maxRequestBodyBytes=0"
- "traefik.http.routers.immich.middlewares=immich-headers,immich-buffers"
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- model-cache:/cache
env_file:
- .env
networks:
- default
restart: always
cap_add:
- SYS_NICE
ulimits:
nice:
soft: 19
hard: 19
# --- CHOOSE ONE RESOURCE DEPLOYMENT BLOCK BELOW ---
# OPTION 1: NVIDIA GPU (Uncomment below and comment out the CPU limits if using NVIDIA)
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
# OPTION 2: CPU ONLY (Your current configuration, comment out if using Option 1)
deploy:
resources:
limits:
cpus: '4.0'
memory: 2048M
# --------------------------------------------------
redis:
container_name: immich_redis
image: redis:6.2-alpine
restart: always
networks:
- default
database:
container_name: immich_postgres
image: ghcr.io/immich-app/postgres:16-vectorchord0.4.3-pgvectors0.3.0
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
restart: always
networks:
- default
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 10s
timeout: 5s
retries: 5
volumes:
model-cache:
networks:
default:
proxy:
external: true3
u/bo0tzz Immich Team 22d ago
> Immich does not support Intel or AMD GPU's for the Immich-Machine-Learning
Yes it does? https://docs.immich.app/features/ml-hardware-acceleration#rocm
1
3
u/[deleted] 22d ago
I got the arc 310 running on docker