Found no NVIDIA driver on your system

I am running Google Gemma-2B in the notebook. When the code comes to the following, showing the error message: " RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from Official Drivers | NVIDIA" Any suggestions? Thank you in advance.


pipe = pipeline(
“text-generation”,
model=“google/gemma-2-2b”,
device=“cuda”
)