Check the upper limit of the CUDA Toolkit version corresponding to the graphics card (including GPU)
. Install CUDA Toolkit
and configure the pip3 environment variable. Obtain the pip3 command
from the Pytorch official website
. Install Pytorch in the Pycharm terminal.
1. Check the upper limit of the CUDA Toolkit version corresponding to the graphics card (including GPU)
1. Search for NVIDIA, open NVIDIA Control Panel
2. Open the system information and check the graphics card (NVIDIA GeForce RTX 30600 Laptop GPU as shown below)
3. Select the component and view the upper limit of CUDA Toolkit (as shown in Figure 11.6.134)
2. Install CUDA Toolkit
1. Go to NVIDIA official website to find the corresponding version of CUDA Toolkit (CUDA Toolkit 11.6.0 as shown below)