it works on my NVIDIA rig but on AMD it says "your system does not support CUDA 11.2 API" when i add the -i command,
i even tried without the "--all-cu-devices" command
I guess there are some problems on AMD cards with the linux build. Will look into it.