I completed all the required cells with success but am getting this error.
"Cell #14. Can’t compile the student’s code. Error: AssertionError(’\nFound no NVIDIA driver on your system. Please check that you\nhave an NVIDIA GPU and installed a driver from\nhttp://www.nvidia.com/Download/index.aspx’,)
"
Greetings,
this error happens when you try to run pytorch on GPU instead of CPU but your system does not have a GPU or not supporting pytorch.
are u running notebooks locally on your machine?
Yours Sincerely.
Just to add what Ramin mentioned, can you just check what output you are getting if you run the command ‘torch.cuda.is_available()’ in a Jupyter notebook cell (after importing the torch library).
import torch
torch.cuda.is_available()
You should get the output as True. If the output is True, you should be able to use PyTorch with your system.
Sometimes, even if you have a graphics card, PyTorch may not be able to use it as it’s not a supported version or necessary drivers are not installed or CUDA/cuDNNs libraries are not compatible with the graphic card/ graphic card driver.
Dear @Mansour
I have created ticket about this problem for assignment designers and staff for checking and will inform you of any updates regarding the matter. Thanks for your patience in advance.
Yours Sincerely
There is a topic about this on the FAQ Thread on the Coursera forums. I will port that material over to Discourse, but it may take me a couple of days to get to that. Look under the “Grader Issues” section. It probably means you modified the code line in the notebook that sets the device.
hello Dear @paulinpaloalto. Yeah for sure you’re right: it should be probably this. I successfully submit the assignment of week 2. So I will take time to review it to see what I changed inadvertently. Thank you very much.