In a Kaggle kernel while having selected the GPU option when checking torch.cuda.is_available(), it says is not available
I created a kernel for a finished Kaggle competition in which i used pytorch. When checking if cuda is available, it returns False.

I checked the GPU option from settings and it says it is on in the bottom bar with resources info. I tried to restart the session without any changes.
What could be the problem? (cpu only pytorch installed maybe?)

The problem was with the selected docker configuration from settings. Selecting the "Latest Available" fixed the problem.
