Gradient - Error when trying to run first piece of code

I’m but I’m trying to ask a very simple question. I have created an account with Gradient and while trying to run my first code getting an error as below.
"
> /opt/conda/envs/fastai/lib/python3.8/site-packages/torch/cuda/init.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at /opt/conda/conda-bld/pytorch_1603729096996/work/c10/cuda/CUDAFunctions.cpp:100.)
> return torch._C._cuda_getDeviceCount() > 0 "

Can anybody help me?

1 Like

Okay, I think I got the problem. I for some reason choose a CPU instance which was the default option. I just deleted that re-created a GPU instance and updated my fastai API now it is training my first model :slight_smile:

Just adding this for others if anyone else runs into the issue as I did.

3 Likes