Should DALI cuda version same as local cuda or pytorch cuda?

Pytorch distributes its package with builtin cuda, so I can use a pytorch with cuda 11.8 even I have cuda 12.0 in local. The question is which cuda version of DALI should I install so it can works correctly with my environments?

DALI doesn’t specify any CUDA minor version, so nvidia-dali-cuda110 should work.