Advertisement
Guest User

hwaccel.ml.yml

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