vault backup: 2025-11-18 19:09:11
Affected files: 10. 日記/2025-11-18(週二).md
This commit is contained in:
@@ -19,8 +19,79 @@ description:
|
|||||||
- tensorflow 各版本對應的 Python、Compiler、Build tools、cuDNN 與 cuda 版號
|
- tensorflow 各版本對應的 Python、Compiler、Build tools、cuDNN 與 cuda 版號
|
||||||
- [Build from source on Linux](https://tensorflow.google.cn/install/source?hl=en#setup_for_linux_and_macos)
|
- [Build from source on Linux](https://tensorflow.google.cn/install/source?hl=en#setup_for_linux_and_macos)
|
||||||
- [Build from source on Windows](https://tensorflow.google.cn/install/source_windows?hl=en)
|
- [Build from source on Windows](https://tensorflow.google.cn/install/source_windows?hl=en)
|
||||||
- [CUDA Toolkit 12.9 Update 1 Downloads](https://developer.nvidia.com/cuda-12-9-1-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Debian&target_version=12&target_type=deb_local)
|
- [CUDA Toolkit 12.9 Update 1 for Ubuntu 24.04](https://developer.nvidia.com/cuda-12-9-1-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=24.04&target_type=deb_local)
|
||||||
- [cuDNN 與 CUDA Toolkit 版本對照表](https://docs.nvidia.com/deeplearning/cudnn/frontend/v1.16.0/reference/support-matrix.html#support-matrix)
|
- [cuDNN 與 CUDA Toolkit 版本對照表](https://docs.nvidia.com/deeplearning/cudnn/frontend/v1.16.0/reference/support-matrix.html#support-matrix)
|
||||||
|
|
||||||
|
移除本地的 deb package
|
||||||
|
1. 先找出安裝的 package name
|
||||||
|
```
|
||||||
|
dpkg -l | grep cuda-repo
|
||||||
|
```
|
||||||
|
|
||||||
|
- 你應該會看到類似:
|
||||||
|
```shell
|
||||||
|
ii cuda-repo-debian12-12-9-local 12.9.1-575.57.08-1 amd64
|
||||||
|
```
|
||||||
|
|
||||||
|
2. 移除
|
||||||
|
- 設定檔保留
|
||||||
|
```
|
||||||
|
sudo dpkg -r cuda-repo-debian12-12-9-local
|
||||||
|
```
|
||||||
|
- 設定檔一併移除
|
||||||
|
```
|
||||||
|
sudo dpkg -P cuda-repo-debian12-12-9-local
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 用 `apt` 遺除以安裝的套件
|
||||||
|
1. 先找出主要的套件
|
||||||
|
```
|
||||||
|
apt list --installed | grep cuda
|
||||||
|
```
|
||||||
|
2. 會看到類似以下
|
||||||
|
```
|
||||||
|
cuda-cccl-12-9/unknown,now 12.9.27-1 amd64 [installed,automatic]
|
||||||
|
cuda-command-line-tools-12-9/unknown,now 12.9.1-1 amd64 [installed,automatic]
|
||||||
|
cuda-compiler-12-9/unknown,now 12.9.1-1 amd64 [installed,automatic]
|
||||||
|
cuda-crt-12-9/unknown,now 12.9.86-1 amd64 [installed,automatic]
|
||||||
|
cuda-cudart-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-cudart-dev-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-cuobjdump-12-9/unknown,now 12.9.82-1 amd64 [installed,automatic]
|
||||||
|
cuda-cupti-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-cupti-dev-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-cuxxfilt-12-9/unknown,now 12.9.82-1 amd64 [installed,automatic]
|
||||||
|
cuda-documentation-12-9/unknown,now 12.9.88-1 amd64 [installed,automatic]
|
||||||
|
cuda-driver-dev-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-gdb-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-libraries-12-9/unknown,now 12.9.1-1 amd64 [installed,automatic]
|
||||||
|
cuda-libraries-dev-12-9/unknown,now 12.9.1-1 amd64 [installed,automatic]
|
||||||
|
cuda-nsight-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-nsight-compute-12-9/unknown,now 12.9.1-1 amd64 [installed,automatic]
|
||||||
|
cuda-nsight-systems-12-9/unknown,now 12.9.1-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvcc-12-9/unknown,now 12.9.86-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvdisasm-12-9/unknown,now 12.9.88-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvml-dev-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvprof-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvprune-12-9/unknown,now 12.9.82-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvrtc-12-9/unknown,now 12.9.86-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvrtc-dev-12-9/unknown,now 12.9.86-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvtx-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvvm-12-9/unknown,now 12.9.86-1 amd64 [installed,automatic]
|
||||||
|
cuda-nvvp-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-opencl-12-9/unknown,now 12.9.19-1 amd64 [installed,automatic]
|
||||||
|
cuda-profiler-api-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-repo-debian12-12-9-local/now 12.9.1-575.57.08-1 amd64 [installed,local]
|
||||||
|
cuda-sandbox-dev-12-9/unknown,now 12.9.19-1 amd64 [installed,automatic]
|
||||||
|
cuda-sanitizer-12-9/unknown,now 12.9.79-1 amd64 [installed,automatic]
|
||||||
|
cuda-toolkit-12-9-config-common/unknown,now 12.9.79-1 all [installed,automatic]
|
||||||
|
cuda-toolkit-12-9/unknown,now 12.9.1-1 amd64 [installed]
|
||||||
|
cuda-toolkit-12-config-common/unknown,now 12.9.79-1 all [installed,automatic]
|
||||||
|
cuda-toolkit-config-common/unknown,now 12.9.79-1 all [installed,automatic]
|
||||||
|
cuda-tools-12-9/unknown,now 12.9.1-1 amd64 [installed,automatic]
|
||||||
|
cuda-visual-tools-12-9/unknown,now 12.9.1-1 amd64 [installed,automatic]
|
||||||
|
```
|
||||||
|
3. 移除:`sudo apt remove cuda-tools-12-9`
|
||||||
|
4. 清除沒用的套件:`sudo apt autoremove`
|
||||||
# 有什麼想法?
|
# 有什麼想法?
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user