Remove all packages in environment D:\Anaconda\envs\my_env:
## Package Plan ##
environment location: D:\Anaconda\envs\my_env
The following packages will be REMOVED:
bzip2-1.0.8-h2bbff1b_6 ...
Proceed ([y]/n)?
选 y 就行。他会继续问你:
1 2 3 4 5 6 7
Downloading and Extracting Packages:
Preparing transaction: done Verifying transaction: done Executing transaction: done Everything found within the environment (D:\Anaconda\envs\my_env), including any conda environment configurations and any non-conda files, will be deleted. Do you wish to continue? (y/[n])?
D:\Anaconda\envs\proj_env\lib\site-packages\torch\cuda\__init__.py:235: UserWarning: NVIDIA GeForce RTX 5070 Laptop GPU with CUDA capability sm_120 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_61 sm_70 sm_75 sm_80 sm_86 sm_90. If you want to use the NVIDIA GeForce RTX 5070 Laptop GPU GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/
...
RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
+-----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | 0 N/A N/A 27788 C+G D:\QQ\QQ.exe N/A | +-----------------------------------------------------------------------------------------+