I believe nvidia-smi indicates the driver install version and CUDA version packaged with the driver. Note that the version used by PyTorch is determined by what CUDA version is packaged with the PyTorch binaries.