Inconsistent CUDA installation instructions

I have come across at least three sets of CUDA toolkit installation instructions for WSL2 on various NVIDIA websites.



which one should be followed for correct installation? Assuming WSL2 and NVIDIA drivers are already set up correctly.

I have worked through all of these instructions. All of them were failed to enable GPU acceleration in Tensorflow 2

I can confirm that the user guide works

tested by running sudo make in /usr/local/cuda/samples/1_Utilities/deviceQuery, followed by ./deviceQuery

I have not tried the instructions in the other two links I posted originally. Not tried tensorflow or any docker containers.