Consistently unable use CUDA even with reinstall pytorch, CUDA, and GPU driver

username: Jinming_Wan
cooked: <p>pip show torch<br>
Name: torch<br>
Version: 2.0.1<br>
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration<br>
Home-page: <a href="https://pytorch.org/" rel="noopener nofollow ugc">https://pytorch.org/</a><br>
Author: PyTorch Team<br>
Author-email: <a href="mailto:packages@pytorch.org">packages@pytorch.org</a><br>
License: BSD-3<br>
Location: c:\users\administrator\appdata\roaming\python\python310\site-packages<br>
Requires: filelock, jinja2, networkx, sympy, typing-extensions<br>
Required-by: torchaudio, torchvision<br>
Note: you may need to restart the kernel to use updated packages.<br>
WARNING: Ignoring invalid distribution -rotobuf (d:\anaconda\lib\site-packages)<br>
WARNING: Ignoring invalid distribution -orch (d:\anaconda\lib\site-packages)</p>
<p>!nvcc --version<br>
nvcc: NVIDIA (R) Cuda compiler driver<br>
Copyright (c) 2005-2023 NVIDIA Corporation<br>
Built on Mon_Apr__3_17:36:15_Pacific_Daylight_Time_2023<br>
Cuda compilation tools, release 12.1, V12.1.105<br>
Build cuda_12.1.r12.1/compiler.32688072_0</p>
<p>!nvidia-smi<br>
Fri Jun 16 18:34:45 2023<br>
±--------------------------------------------------------------------------------------+<br>
| NVIDIA-SMI 536.23                 Driver Version: 536.23       CUDA Version: 12.2     |<br>
|-----------------------------------------±---------------------±---------------------+<br>
| GPU  Name                     TCC/WDDM  | Bus-Id        Disp.A | Volatile Uncorr. ECC |<br>
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |<br>
|                                         |                      |               MIG M. |<br>
|=========================================+======================+======================|<br>
|   0  NVIDIA GeForce GTX 1070      WDDM  | 00000000:01:00.0  On |                  N/A |<br>
|  0%   47C    P8              11W / 151W |    728MiB /  8192MiB |      3%      Default |<br>
|                                         |                      |                  N/A |<br>
±----------------------------------------±---------------------±---------------------+</p>
<p>±--------------------------------------------------------------------------------------+<br>
| Processes:                                                                            |<br>
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |<br>
|        ID   ID                                                             Usage      |<br>
|=======================================================================================|<br>
|    0   N/A  N/A      1632    C+G   …2txyewy\StartMenuExperienceHost.exe    N/A      |<br>
|    0   N/A  N/A      3464    C+G   …5n1h2txyewy\ShellExperienceHost.exe    N/A      |<br>
|    0   N/A  N/A      7472    C+G   C:\Windows\explorer.exe                   N/A      |<br>
|    0   N/A  N/A      7764    C+G   …Experiences.TextInput.InputApp.exe    N/A      |<br>
|    0   N/A  N/A      8248    C+G   …Cortana_cw5n1h2txyewy\SearchUI.exe    N/A      |<br>
|    0   N/A  N/A      8532    C+G   …Cortana_cw5n1h2txyewy\SearchUI.exe    N/A      |<br>
|    0   N/A  N/A      9048    C+G   …0_x64__8wekyb3d8bbwe\YourPhone.exe    N/A      |<br>
|    0   N/A  N/A     10564    C+G   …1.0_x64__8wekyb3d8bbwe\Video.UI.exe    N/A      |<br>
|    0   N/A  N/A     11564    C+G   …crosoft\Edge\Application\msedge.exe    N/A      |<br>
|    0   N/A  N/A     13776    C+G   …oogle\Chrome\Application\chrome.exe    N/A      |<br>
|    0   N/A  N/A     15012    C+G   …ience\NVIDIA GeForce Experience.exe    N/A      |<br>
|    0   N/A  N/A     15776    C+G   …siveControlPanel\SystemSettings.exe    N/A      |<br>
±--------------------------------------------------------------------------------------+</p>
<p>torch.cuda.is_available()<br>
Out[9]: False</p>

username: ptrblck
cooked: <p>I guess you have installed the CPU-only binary so make sure <code>torch.version.cuda</code> shows a valid CUDA runtime.<br>
You can post code snippets by wrapping them into three backticks ```</p>