`docker compose up -d --force-recreate' always returns "/dev/kfd" not being found

Every time I compose an Immich container on my computer running Devuan with the runit init system and the xanmod LTS kernel, the error below occurs. ROCm will only build on anything other than the stock Devuan kernel, so this is my only option. I triple-checked that the driver loaded successfully, which it did.

Docker version is v4.54.0
Devuan 6 Excalibur (based on Debian 13 Trixie) with Custom xanmod Kernel (version 6.12.62-x64v3-xanmod1)

$ docker compose up -d --force-recreate
[+] Running 3/4
 ✔ Container immich_postgres          Started                                                                                                                                            2.0s 
 ⠋ Container immich_machine_learning  Starting                                                                                                                                           2.0s 
 ✔ Container immich_redis             Started                                                                                                                                            1.8s 
 ✔ Container immich_server            Recreated                                                                                                                                          0.6s 
Error response from daemon: error gathering device information while adding custom device "/dev/kfd": no such file or directory

I looked on Google, and it said that my configuration was incompatible. Are there any last-ditch attempts I can try before I give up and switch to OpenMandriva, which has systemd?

If there is anything I’ve missed, please let me know, and I will provide it to you if I can.

Although you haven’t shared a compose fil, the error message indicates you are tying to mount a device that does not exist on the host. So it looks like something that you need to fix on the host if possible or remove the mount if that is not required.

You probably know these very well, but I found these for anyone joining the conversation

Just to make sure the problem is the missing file, you can check the the file exists or the error message is not correct

ls -la /dev/kfd