Guest User

hwaccel.ml.yml cm3588

a guest
Oct 30th, 2025
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.44 KB | None | 0 0
  1. # Configurations for hardware-accelerated machine learning
  2.  
  3. # If using Unraid or another platform that doesn't allow multiple Compose files,
  4. # you can inline the config for a backend by copying its contents
  5. # into the immich-machine-learning service in the docker-compose.yml file.
  6.  
  7. # See https://docs.immich.app/features/ml-hardware-acceleration for info on usage.
  8.  
  9. services:
  10.   armnn:
  11.     devices:
  12.      - /dev/mali0:/dev/mali0
  13.     volumes:
  14.      - /lib/firmware/mali_csffw.bin:/lib/firmware/mali_csffw.bin:ro # Mali firmware for your chipset (not always required depending on the driver)
  15.       - /usr/lib/libmali.so:/usr/lib/libmali.so:ro # Mali driver for your chipset (always required)
  16.  
  17.   rknn:
  18.     security_opt:
  19.      - systempaths=unconfined
  20.       - apparmor=unconfined
  21.     devices:
  22.      - /dev/dri:/dev/dri
  23.  
  24.   cpu: {}
  25.  
  26.   cuda:
  27.     deploy:
  28.       resources:
  29.         reservations:
  30.           devices:
  31.             - driver: nvidia
  32.               count: 1
  33.               capabilities:
  34.                - gpu
  35.  
  36.   rocm:
  37.     group_add:
  38.      - video
  39.     devices:
  40.      - /dev/dri:/dev/dri
  41.       - /dev/kfd:/dev/kfd
  42.  
  43.   openvino:
  44.     device_cgroup_rules:
  45.      - 'c 189:* rmw'
  46.     devices:
  47.      - /dev/dri:/dev/dri
  48.     volumes:
  49.      - /dev/bus/usb:/dev/bus/usb
  50.  
  51.   openvino-wsl:
  52.     devices:
  53.      - /dev/dri:/dev/dri
  54.       - /dev/dxg:/dev/dxg
  55.     volumes:
  56.      - /dev/bus/usb:/dev/bus/usb
  57.       - /usr/lib/wsl:/usr/lib/wsl
Advertisement
Add Comment
Please, Sign In to add comment