C1W1 Assignment submission error

hello,

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.

Hi Mansour,

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.

Regards.

1 Like

Hello,
Thanks for the response. I am using the coursera platform directly open on my browser
.

1 Like

Thanks Dear Somesh Chatterjee,
Yes, it returns true but still outputting the same error !
Screen Shot 2021-08-22 at 11.38.55|488x172

1 Like

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

Thank you very much Dear @Ramin.Ferdos .

1 Like

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.

2 Likes

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.

dear @Mansour ,
I hope you are doing fine, regarding this error, a new topic was made by @paulinpaloalto which you can see here:

I believe this topic can answer your inquiry regarding the matter.
Yours sincerely.

1 Like