简体   繁体   中英

Connecting Jupyter notebook with my laptops GPU

I have been having a hard time connecting my jupyter notebook to my laptops GPU. I have tried creating a new environment on Anaconda, Installing tensorflow GPU, deleted and installed a new kernel. Downloaded CUDA and CUDNN. It still shows there are no GPU available. I used an Acer Nitro 5 with GTX 1650 在此处输入图像描述 .

This is most likely caused due to incorrect kernel. Run this code on a Python terminal. If cuda_visible_devices gives you the result you want that mean notebook and the root Python installations are different even if they have the same version. My suggestion would be to use Anaconda to install everything including Jupyter. That has helped me solve this issue on my system.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM