NVIDIA Driver not installing correctly

I am currently working on a Google Cloud environment with a Tesla T4 GPU type.
I need to install NVIDIA driver with it (which I did using the .run file). I downloaded the NVIDIA-Linux-x86_64-515.43.04.run file from the NVIDIA website. I also needed the CUDA Toolkit installer which I also downloaded as a .deb file into my Google Cloud instance (cuda-repo-debian11-11-7-local_11.7.0-515.43.04-1_amd64.deb).

I followed these instructions to finish installing CUDA.

I get some weird errors. For example when I run the nvidia-smi command in the Cloud cl I get this error: NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. I am confused since I’m pretty sure I downloaded the latest version.

I am a noob in python and GPU related things so I don’t really know what I’m doing. Can someone help me install the NVIDIA driver onto my Google Cloud instance? Thanks!!