-
Notifications
You must be signed in to change notification settings - Fork 107
Docker Compose Requires /dev/accel Devices Even Though NPU Is Documented as Optional #1891
Description
edge-ai-suites/health-and-life-sciences-ai-suite/multi_modal_patient_monitoring/docker-compose.yaml
Line 131 in da1e502
| - "/dev/accel/accel0:/dev/accel/accel0" |
Description
The system requirements documentation states that NPU hardware is optional for the Multi-Modal Patient Monitoring suite.
However, docker-compose.yaml unconditionally exposes accelerator devices:
devices:
- /dev/dri
- /dev/accel
- /dev/accel/accel0If /dev/accel/accel0 does not exist on the host, Docker fails at startup with:
error gathering device information while adding custom_device "/dev/accel/accel0":
no such file or directory
This prevents the stack from running on systems without NPU hardware.
Affected Services
The following services rely on accelerator device exposure:
ai-ecgppg3dpose-estimationmdpnppatient-monitoring-aggregator(indirect dependency)
Since device mappings are unconditional, containers fail before any CPU fallback can occur.
Workaround
Commenting out the following lines in docker-compose.yaml allows the containers to run on systems without NPU (on an individual troubleshooting level):
# devices:
# - /dev/dri
# - /dev/accel
# - /dev/accel/accel0After removing these mappings, the stack starts successfully (CPU mode).
Additional Note
Systems with properly configured Intel iGPU drivers (/dev/dri) may not encounter this issue, as OpenVINO can use GPU acceleration. However, on systems without /dev/accel, the current configuration blocks container startup entirely.
There appears to be a mismatch between documentation (NPU optional) and compose configuration (NPU implicitly required).