Difference between "yum install cuda-drivers" and "yum install nvidia-driver-latest-dkms"

I would like to install newer CUDA driver like 470, 495 in my Centos7. I searched some installation guides, and found that some of them use the command “yum install cuda-drivers” and the other use the command “yum install nvidia-driver-latest-dkms”. Both can work when running the command “nvidia-smi”.

So I would like to know whether there are some differences between them? which one is the recommended?