吴恩达机器学习环境本地化构建(wsl+docker+tensorflow+cuda)_wsl ubuntu tensorflow + cuda docker安装(1)

  "runtimes": {
    "nvidia": {
      "args": [],
      "path": "nvidia-container-runtime"
    }
  }

3.4 测试一下

上面安装完记得重启一下wsl和docker。然后可以启动wsl执行(--runtime=-nvidia--gpus all选项可以都带也可以二选一)5

$ docker run --runtime=nvidia --gpus all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark
Run "nbody -benchmark [-numbodies=<numBodies>]" to measure performance.
        -fullscreen       (run n-body simulation in fullscreen mode)
        -fp64             (use double precision floating point values for simulation)
        -hostmem          (stores simulation data in host memory)
        -benchmark        (run benchmark to measure performance)
        -numbodies=<N>    (number of bodies (>= 1) to run in simulation)
        -device=<d>       (where d=0,1,2.... for the CUDA device to use)
        -numdevices=<i>   (where i=(number of CUDA devices > 0) to use for simulation)
        -compare          (compares simulation results running once on the default GPU and once on the CPU)
        -cpu              (run n-body simulation on the CPU)
        -tipsy=<file.bin> (load a tipsy model file for simulation)

NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.

> Windowed mode
> Simulation data stored in video memory
> Single precision floating point simulation
> 1 Devices used for simulation
GPU Device 0: "Ampere" with compute capability 8.6

> Compute 8.6 CUDA device: [NVIDIA RTX A2000 Laptop GPU]
20480 bodies, total time for 10 iterations: 21.752 ms
= 192.826 billion interactions per second
= 3856.511 single-precision GFLOP/s at 20 flops per interaction

3.1415926 世界线变动之镜像构建

写了一个Dockerfile,用这个Dockerfile可以build出可用的docker image,这样就可以跳过下面的4,5两步直接启动可用的镜像了吴恩达ReinforcementLearning Docker镜像构筑

4 TensorFlow镜像

4.1 拉取官方TensorFlow镜像

到TensorFlow官方去拉他们的镜像6

$ docker pull tensorflow/tensorflow:latest-gpu-jupyter  # latest release w/ GPU support and Jupyter

如果要拉取CPU版本或者其他版本可以参考官方对tag的说明:

TagDescription
latestThe latest release of TensorFlow CPU binary image. Default.
nightlyNightly builds of the TensorFlow image. (Unstable.)
versionSpecify the version of the TensorFlow binary image, for example: 2.8.3

每个tag还拥有tag-variant如下

Tag VariantsDescription
tag-gpuThe specified tag release with GPU support. (See below)
tag-jupyterThe specified tag release with Jupyter (includes TensorFlow tutorial notebooks)

注意: tensorflow.google.cn是tensorflow.org的完整镜像,可以解决官方访问不了的问题,但是务必要选择English,中文的内容落后了好几个版本。

4.2 运行镜像

参数说明:
--runtime=nvidia --gpus all: 使用GPU
-p 10000:8888: 将容器内部端口8888映射到机器端口10000,稍后用浏览器打开127.0.0.1:10000就能访问jupyter的服务
--name tfGPU: 容器的名字叫做tfGPU
-v /mnt/d/Docker/jovyan:/data : 存储映射,将wsl的/mnt/d/Docker/jovyan文件夹映射为容器内的/data文件夹,wsl的/mnt/d/Docker/jovyan文件夹自然映射到Windows的D:/Docker/jovyan

$ docker run --runtime=nvidia --gpus all -it -p 10000:8888 --name tfGPU -v /mnt/d/Docker/jovyan:/data tensorflow/tensorflow:latest-gpu-jupyter
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.279 ServerApp] Package notebook took 0.0000s to import
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.311 ServerApp] Package jupyter_lsp took 0.0311s to import
2024-03-14 16:18:48 [W 2024-03-14 08:18:48.311 ServerApp] A `\_jupyter\_server\_extension\_points` function was not found in jupyter_lsp. Instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.321 ServerApp] Package jupyter_server_terminals took 0.0093s to import
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.321 ServerApp] Package jupyterlab took 0.0000s to import
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.352 ServerApp] Package notebook_shim took 0.0000s to import
2024-03-14 16:18:48 [W 2024-03-14 08:18:48.352 ServerApp] A `\_jupyter\_server\_extension\_points` function was not found in notebook_shim. Instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.353 ServerApp] jupyter_lsp | extension was successfully linked.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.358 ServerApp] jupyter_server_terminals | extension was successfully linked.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.361 ServerApp] jupyterlab | extension was successfully linked.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.366 ServerApp] notebook | extension was successfully linked.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.546 ServerApp] notebook_shim | extension was successfully linked.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.570 ServerApp] notebook_shim | extension was successfully loaded.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.571 ServerApp] jupyter_lsp | extension was successfully loaded.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.572 ServerApp] jupyter_server_terminals | extension was successfully loaded.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.580 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.11/dist-packages/jupyterlab
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.580 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.580 LabApp] Extension Manager is 'pypi'.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.582 ServerApp] jupyterlab | extension was successfully loaded.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.586 ServerApp] notebook | extension was successfully loaded.
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.587 ServerApp] Serving notebooks from local directory: /tf
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.587 ServerApp] Jupyter Server 2.12.0 is running at:
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.587 ServerApp] http://bbb293112c81:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.587 ServerApp]     http://127.0.0.1:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.587 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
2024-03-14 16:18:48 [C 2024-03-14 08:18:48.589 ServerApp] 
2024-03-14 16:18:48     
2024-03-14 16:18:48     To access the server, open this file in a browser:
2024-03-14 16:18:48         file:///root/.local/share/jupyter/runtime/jpserver-1-open.html
2024-03-14 16:18:48     Or copy and paste one of these URLs:
2024-03-14 16:18:48         http://bbb293112c81:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:48         http://127.0.0.1:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:48 [I 2024-03-14 08:18:48.602 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
2024-03-14 16:18:56 ^C[I 2024-03-14 08:18:56.542 ServerApp] interrupted
2024-03-14 16:18:56 [I 2024-03-14 08:18:56.542 ServerApp] Serving notebooks from local directory: /tf
2024-03-14 16:18:56     0 active kernels
2024-03-14 16:18:56     Jupyter Server 2.12.0 is running at:
2024-03-14 16:18:56     http://bbb293112c81:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:56         http://127.0.0.1:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:59 Shutdown this Jupyter server (y/[n])? N
2024-03-14 16:18:59 [I 2024-03-14 08:18:59.618 ServerApp] resuming operation...
2024-03-14 16:19:10 [I 2024-03-14 08:19:10.647 JupyterNotebookApp] 302 GET /tree/data/07.C3_W3_A1_Assignment%20work (@172.17.0.1) 0.99ms
2024-03-14 16:19:15 [I 2024-03-14 08:19:15.030 ServerApp] User b8a5075f37d24a42a65573d779a2b7e2 logged in.
2024-03-14 16:19:15 [I 2024-03-14 08:19:15.030 ServerApp] 302 POST /login?next=%2Ftree%2Fdata%2F07.C3_W3_A1_Assignment%2520work (b8a5075f37d24a42a65573d779a2b7e2@172.17.0.1) 50.95ms
2024-03-14 16:19:15 0.00s - Debugger warning: It seems that frozen modules are being used, which may
2024-03-14 16:19:15 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen\_modules=off
2024-03-14 16:19:15 0.00s - to python to disable frozen modules.
2024-03-14 16:19:15 0.00s - Note: Debugging will proceed. Set PYDEVD\_DISABLE\_FILE\_VALIDATION=1 to disable this validation.
2024-03-14 16:19:28 [I 2024-03-14 08:19:28.542 ServerApp] Kernel started: b1ac7995-84c6-49bb-b371-2f1903c7b1c3
2024-03-14 16:19:28 0.00s - Debugger warning: It seems that frozen modules are being used, which may
2024-03-14 16:19:28 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen\_modules=off
2024-03-14 16:19:28 0.00s - to python to disable frozen modules.
2024-03-14 16:19:28 0.00s - Note: Debugging will proceed. Set PYDEVD\_DISABLE\_FILE\_VALIDATION=1 to disable this validation.
2024-03-14 16:19:29 [I 2024-03-14 08:19:29.149 ServerApp] Connecting to kernel b1ac7995-84c6-49bb-b371-2f1903c7b1c3.
2024-03-14 16:20:17 2024-03-14 08:20:17.127559: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF\_ENABLE\_ONEDNN\_OPTS=0`.
2024-03-14 16:20:17 2024-03-14 08:20:17.172965: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-03-14 16:20:17 2024-03-14 08:20:17.173002: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-03-14 16:20:17 2024-03-14 08:20:17.176275: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-03-14 16:20:17 2024-03-14 08:20:17.183555: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
2024-03-14 16:20:17 To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-03-14 16:20:18 2024-03-14 08:20:18.132668: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2024-03-14 16:20:20 2024-03-14 08:20:19.976429: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:20 Your kernel may have been built without NUMA support.
2024-03-14 16:20:20 2024-03-14 08:20:20.366150: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:20 Your kernel may have been built without NUMA support.
2024-03-14 16:20:20 2024-03-14 08:20:20.366201: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:20 Your kernel may have been built without NUMA support.
2024-03-14 16:20:21 2024-03-14 08:20:21.009327: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 Your kernel may have been built without NUMA support.
2024-03-14 16:20:21 2024-03-14 08:20:21.009400: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 Your kernel may have been built without NUMA support.
2024-03-14 16:20:21 2024-03-14 08:20:21.009417: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 Your kernel may have been built without NUMA support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228485: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 Your kernel may have been built without NUMA support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228547: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 Your kernel may have been built without NUMA support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228556: I tensorflow/core/common_runtime/gpu/gpu_device.cc:2022] Could not identify NUMA node of platform GPU id 0, defaulting to 0.  Your kernel may not have been built with NUMA support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228586: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 Your kernel may have been built without NUMA support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228609: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1929] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 1753 MB memory:  -> device: 0, name: NVIDIA RTX A2000 Laptop GPU, pci bus id: 0000:01:00.0, compute capability: 8.6
2024-03-14 16:20:22 2024-03-14 08:20:22.988820: I external/local_xla/xla/service/service.cc:168] XLA service 0x7f1fd59f3190 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2024-03-14 16:20:22 2024-03-14 08:20:22.988862: I external/local_xla/xla/service/service.cc:176]   StreamExecutor device (0): NVIDIA RTX A2000 Laptop GPU, Compute Capability 8.6
2024-03-14 16:20:22 2024-03-14 08:20:22.997062: I tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc:269] disabling MLIR crash reproducer, set env var `MLIR\_CRASH\_REPRODUCER\_DIRECTORY` to enable.
2024-03-14 16:20:23 2024-03-14 08:20:23.029062: I external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:454] Loaded cuDNN version 8904
2024-03-14 16:20:23 WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
2024-03-14 16:20:23 I0000 00:00:1710404423.113098     148 device_compiler.h:186] Compiled cluster using XLA!  This line is logged at most once for the lifetime of the process.
2024-03-14 16:21:28 [I 2024-03-14 08:21:28.096 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:23:28 [I 2024-03-14 08:23:28.149 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:25:28 [I 2024-03-14 08:25:28.193 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:27:28 [I 2024-03-14 08:27:28.232 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:29:28 [I 2024-03-14 08:29:28.270 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:31:28 [I 2024-03-14 08:31:28.322 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:33:28 [I 2024-03-14 08:33:28.567 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:35:28 [I 2024-03-14 08:35:28.603 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:37:28 [I 2024-03-14 08:37:28.644 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:39:28 [I 2024-03-14 08:39:28.706 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:41:28 [I 2024-03-14 08:41:28.754 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:43:28 [I 2024-03-14 08:43:28.808 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:45:27 [swscaler @ 0x6f6b540] Warning: data is not aligned! This can lead to a speed loss
2024-03-14 16:45:28 [I 2024-03-14 08:45:28.851 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:47:28 [I 2024-03-14 08:47:28.912 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 16:55:24 [I 2024-03-14 08:55:24.246 ServerApp] Starting buffering for b1ac7995-84c6-49bb-b371-2f1903c7b1c3:96ca9b8c-adbe-4be8-80a2-2e5a84a1b06c
2024-03-14 17:03:23 [I 2024-03-14 09:03:23.789 LabApp] 302 GET /lab (@172.17.0.1) 0.71ms
2024-03-14 17:03:51 [I 2024-03-14 09:03:51.072 ServerApp] User 232df10b534c4fea96893811c8da4181 logged in.
2024-03-14 17:03:51 [I 2024-03-14 09:03:51.072 ServerApp] 302 POST /login?next=%2Flab (232df10b534c4fea96893811c8da4181@172.17.0.1) 1.09ms
2024-03-14 17:03:53 [W 2024-03-14 09:03:53.182 LabApp] Could not determine jupyterlab build status without nodejs
2024-03-14 17:03:53 [I 2024-03-14 09:03:53.263 ServerApp] Connecting to kernel b1ac7995-84c6-49bb-b371-2f1903c7b1c3.
2024-03-14 17:03:53 [I 2024-03-14 09:03:53.445 ServerApp] Starting buffering for b1ac7995-84c6-49bb-b371-2f1903c7b1c3:85a729d9-b805-4c8c-8cc4-bd3e4e052a0c
2024-03-14 17:04:02 [W 2024-03-14 09:04:02.985 ServerApp] 403 GET /static/lab/481e39042508ae313a60.woff (172.17.0.1): 481e39042508ae313a60.woff is not in root static directory
2024-03-14 17:04:03 [W 2024-03-14 09:04:02.995 ServerApp] 403 GET /static/lab/481e39042508ae313a60.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 13.44ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [I 2024-03-14 09:04:03.001 ServerApp] Connecting to kernel b1ac7995-84c6-49bb-b371-2f1903c7b1c3.
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.101 ServerApp] 403 GET /static/lab/1cb1c39ea642f26a4dfe.woff (172.17.0.1): 1cb1c39ea642f26a4dfe.woff is not in root static directory
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.103 ServerApp] 403 GET /static/lab/1cb1c39ea642f26a4dfe.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 2.14ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.103 ServerApp] 403 GET /static/lab/a009bea404f7a500ded4.woff (172.17.0.1): a009bea404f7a500ded4.woff is not in root static directory
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.105 ServerApp] 403 GET /static/lab/a009bea404f7a500ded4.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 3.75ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.327 ServerApp] 403 GET /static/lab/c49810b53ecc0d87d802.woff (172.17.0.1): c49810b53ecc0d87d802.woff is not in root static directory
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.330 ServerApp] 403 GET /static/lab/c49810b53ecc0d87d802.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 4.02ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.370 ServerApp] 403 GET /static/lab/3bc6ecaae7ecf6f8d7f8.woff (172.17.0.1): 3bc6ecaae7ecf6f8d7f8.woff is not in root static directory
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.372 ServerApp] 403 GET /static/lab/3bc6ecaae7ecf6f8d7f8.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 5.23ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.603 ServerApp] 403 GET /static/lab/5cda41563a095bd70c78.woff (172.17.0.1): 5cda41563a095bd70c78.woff is not in root static directory
2024-03-14 17:04:03 [W 2024-03-14 09:04:03.604 ServerApp] 403 GET /static/lab/5cda41563a095bd70c78.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 1.76ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:06:02 [I 2024-03-14 09:06:02.688 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 17:08:02 [I 2024-03-14 09:08:02.745 ServerApp] Saving file at /data/07.C3_W3_A1_Assignment work/C3_W3_A1_Assignment.ipynb
2024-03-14 17:09:54 [I 2024-03-14 09:09:54.848 ServerApp] Kernel interrupted: b1ac7995-84c6-49bb-b371-2f1903c7b1c3
2024-03-14 17:10:09 [C 2024-03-14 09:10:09.364 ServerApp] received signal 15, stopping
2024-03-14 17:10:09 [I 2024-03-14 09:10:09.365 ServerApp] Shutting down 5 extensions
2024-03-14 17:10:09 [I 2024-03-14 09:10:09.365 ServerApp] Shutting down 1 kernel
2024-03-14 17:10:09 [I 2024-03-14 09:10:09.365 ServerApp] Kernel shutdown: b1ac7995-84c6-49bb-b371-2f1903c7b1c3
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.553 ServerApp] Package notebook took 0.0000s to import
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.572 ServerApp] Package jupyter_lsp took 0.0183s to import
2024-03-15 11:15:04 [W 2024-03-15 03:15:04.572 ServerApp] A `\_jupyter\_server\_extension\_points` function was not found in jupyter_lsp. Instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.582 ServerApp] Package jupyter_server_terminals took 0.0097s to import
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.582 ServerApp] Package jupyterlab took 0.0000s to import
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.672 ServerApp] Package notebook_shim took 0.0000s to import
2024-03-15 11:15:04 [W 2024-03-15 03:15:04.672 ServerApp] A `\_jupyter\_server\_extension\_points` function was not found in notebook_shim. Instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.673 ServerApp] jupyter_lsp | extension was successfully linked.
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.676 ServerApp] jupyter_server_terminals | extension was successfully linked.
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.679 ServerApp] jupyterlab | extension was successfully linked.
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.682 ServerApp] notebook | extension was successfully linked.
2024-03-15 11:15:04 [I 2024-03-15 03:15:04.997 ServerApp] notebook_shim | extension was successfully linked.
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.016 ServerApp] notebook_shim | extension was successfully loaded.
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.017 ServerApp] jupyter_lsp | extension was successfully loaded.
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.018 ServerApp] jupyter_server_terminals | extension was successfully loaded.
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.023 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.11/dist-packages/jupyterlab
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.023 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.024 LabApp] Extension Manager is 'pypi'.
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.026 ServerApp] jupyterlab | extension was successfully loaded.
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.027 ServerApp] notebook | extension was successfully loaded.
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.028 ServerApp] Serving notebooks from local directory: /tf
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.028 ServerApp] Jupyter Server 2.12.0 is running at:
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.028 ServerApp] http://bbb293112c81:8888/tree?token=eaf9f279cde54f16ad174bc938321ba9eb9bb7ef56b87666
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.028 ServerApp]     http://127.0.0.1:8888/tree?token=eaf9f279cde54f16ad174bc938321ba9eb9bb7ef56b87666
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.028 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
2024-03-15 11:15:05 [C 2024-03-15 03:15:05.030 ServerApp] 
2024-03-15 11:15:05     
2024-03-15 11:15:05     To access the server, open this file in a browser:
2024-03-15 11:15:05         file:///root/.local/share/jupyter/runtime/jpserver-1-open.html
2024-03-15 11:15:05     Or copy and paste one of these URLs:
2024-03-15 11:15:05         http://bbb293112c81:8888/tree?token=eaf9f279cde54f16ad174bc938321ba9eb9bb7ef56b87666
2024-03-15 11:15:05         http://127.0.0.1:8888/tree?token=eaf9f279cde54f16ad174bc938321ba9eb9bb7ef56b87666
2024-03-15 11:15:05 [I 2024-03-15 03:15:05.040 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
2024-03-15 18:00:57 [C 2024-03-15 10:00:57.650 ServerApp] received signal 15, stopping
2024-03-15 18:00:57 [I 2024-03-15 10:00:57.652 ServerApp] Shutting down 5 extensions
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.279 ServerApp] Package notebook took 0.0000s to import
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.302 ServerApp] Package jupyter_lsp took 0.0229s to import
2024-03-18 15:30:56 [W 2024-03-18 07:30:56.302 ServerApp] A `\_jupyter\_server\_extension\_points` function was not found in jupyter_lsp. Instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.314 ServerApp] Package jupyter_server_terminals took 0.0119s to import
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.315 ServerApp] Package jupyterlab took 0.0000s to import
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.425 ServerApp] Package notebook_shim took 0.0000s to import
2024-03-18 15:30:56 [W 2024-03-18 07:30:56.425 ServerApp] A `\_jupyter\_server\_extension\_points` function was not found in notebook_shim. Instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.426 ServerApp] jupyter_lsp | extension was successfully linked.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.428 ServerApp] jupyter_server_terminals | extension was successfully linked.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.431 ServerApp] jupyterlab | extension was successfully linked.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.434 ServerApp] notebook | extension was successfully linked.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.776 ServerApp] notebook_shim | extension was successfully linked.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.798 ServerApp] notebook_shim | extension was successfully loaded.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.800 ServerApp] jupyter_lsp | extension was successfully loaded.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.801 ServerApp] jupyter_server_terminals | extension was successfully loaded.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.808 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.11/dist-packages/jupyterlab
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.808 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.809 LabApp] Extension Manager is 'pypi'.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.811 ServerApp] jupyterlab | extension was successfully loaded.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.812 ServerApp] notebook | extension was successfully loaded.
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.813 ServerApp] Serving notebooks from local directory: /tf
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.813 ServerApp] Jupyter Server 2.12.0 is running at:
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.813 ServerApp] http://bbb293112c81:8888/tree?token=76bca2a3f256ee976ca8194aa95a845d625737dd501450aa
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.813 ServerApp]     http://127.0.0.1:8888/tree?token=76bca2a3f256ee976ca8194aa95a845d625737dd501450aa
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.813 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
2024-03-18 15:30:56 [C 2024-03-18 07:30:56.815 ServerApp] 
2024-03-18 15:30:56     
2024-03-18 15:30:56     To access the server, open this file in a browser:
2024-03-18 15:30:56         file:///root/.local/share/jupyter/runtime/jpserver-1-open.html
2024-03-18 15:30:56     Or copy and paste one of these URLs:
2024-03-18 15:30:56         http://bbb293112c81:8888/tree?token=76bca2a3f256ee976ca8194aa95a845d625737dd501450aa
2024-03-18 15:30:56         http://127.0.0.1:8888/tree?token=76bca2a3f256ee976ca8194aa95a845d625737dd501450aa
2024-03-18 15:30:56 [I 2024-03-18 07:30:56.828 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server


5 运行Jupyter

5.1 打开Jupyter

打开chrome或其他浏览器,输入127.0.0.1:10000,需要你输入token,注意上面log的最后token=的字样,将它copy进去就可以使用了。
或者直接copy上面token的URL,改一下端口也可以访问。

5.2 测试tensorflow

在Jupyter里面New一个notebook,输入

import tensorflow as tf

print(tf.config.list_physical_devices('GPU'))
print(tf.test.is_built_with_cuda())

from tensorflow.python.platform import build_info as tf_build_info

print("cudnn\_version",tf_build_info.build_info['cudnn\_version'])
print("cuda\_version",tf_build_info.build_info['cuda\_version'])

可得到如下输出,则说明可以用GPU加速tensorflow了

[PhysicalDevice(name='/physical\_device:GPU:0', device_type='GPU')]
True
cudnn_version 8
cuda_version 12.2

6. 安装TensorFlow+CUDA

如果上面看不到相关的GPU,可能是CUDA等在容器内的安装有问题。Nvidia的CUDA软件架构一直在调整,安装确实各种不便。
发现TensorFlow已经发布2.15.0RC版了,更新介绍通过pip一次就可以安装TensorFlow和对应的CUDA。参见Install TensorFlow with pip
先从WSL通过

$ docker exec -it tfGPU bash

进入container。
再在container内执行以下命令:

$ pip install --upgrade pip
$ pip install tensorflow[and-cuda]

装完后执行4.4的测试应该就能通过了。

7. 问题

7. 1 NUMA Support problem

这个问题我尝试在WSL里安装NUMA包了,但是仍然没解决,但是根据nvidia官方回复If you are asking about the NUMA message, it is a harmless warning.7

Problem like this

2022-06-15 12:26:38.641299: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2022-06-15 12:26:38.663494: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2022-06-15 12:26:38.663891: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2022-06-15 12:26:38.664215: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-06-15 12:26:38.665784: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2022-06-15 12:26:38.666145: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2022-06-15 12:26:38.666447: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2022-06-15 12:26:39.086758: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2022-06-15 12:26:39.087183: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2022-06-15 12:26:39.087209: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Could not identify NUMA node of platform GPU id 0, defaulting to 0.  Your kernel may not have been built with NUMA support.
2022-06-15 12:26:39.087578: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.

建议忽略这个warning (参见 8. TensorFlow的warning抑制)

7.2 TF_ENABLE_ONEDNN_OPTS

Problem like this

2024-03-18 07:42:53.040059: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF\_ENABLE\_ONEDNN\_OPTS=0`.

看起来是一些精度问题,如果介意的话,可以在python代码顶部用

import os
os.environ['TF\_ENABLE\_ONEDNN\_OPTS'] = '0'

来解决,或者忽略这个warning参见8. TensorFlow的warning抑制

7.3 cuDNN/cuFFT/cuBLAS插件冲突

Problem like this

2024-03-11 08:23:27.237450: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-03-11 08:23:27.237475: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-03-11 08:23:27.238122: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered

cuDNN, cuFFT, and cuBLAS Errors
据说是:Starting from TF2.14 tensorflow provides CUDA package which can install all the cuDNN,cuFFT and cubLas libraries.
TF默认装了cu的包,所以冲突了?当然,我独立安装了cuda toolkit和cuDNN模块,看起来是包重复的问题。
可以用7. TensorFlow的warning抑制的方法加以忽视。
如果介意的话,就只能uninstall手动安装的cuda toolkit和cuDNN了。

7.4 sklearn的安装

要用-U的option,否则总是失败

pip install -U scikit-learn

8. TensorFlow的warning抑制

抑制TF的warning信息,避免反复跳出。

import os
os.environ['TF\_CPP\_MIN\_LOG\_LEVEL'] = '3' # or any {‘0’, ‘1’, ‘2’}

当然,还是建议好好看一下warning是不是真的不是你关心的点了

Annex

最后,给出容器内的配置清单供各位参考

A1. pip的安装清单

$ pip list
Package                      Version
---------------------------- -------------
absl-py                      2.0.0
anyio                        4.1.0
argon2-cffi                  23.1.0
argon2-cffi-bindings         21.2.0
arrow                        1.3.0
asttokens                    2.4.1
astunparse                   1.6.3
async-lru                    2.0.4
attrs                        23.1.0
av                           11.0.0
Babel                        2.13.1
beautifulsoup4               4.12.2
bleach                       6.1.0
blinker                      1.4
bokeh                        3.3.4
box2d-py                     2.3.5
cachetools                   5.3.2
certifi                      2023.11.17
cffi                         1.16.0
charset-normalizer           3.3.2
cloudpickle                  3.0.0
comm                         0.2.0
contourpy                    1.2.0
cryptography                 3.4.8
cuda-python                  12.4.0
cycler                       0.12.1
Cython                       3.0.9
dbus-python                  1.2.18
debugpy                      1.8.0
decorator                    5.1.1
defusedxml                   0.7.1
distro                       1.7.0
executing                    2.0.1
Farama-Notifications         0.0.4
fastjsonschema               2.19.0
flatbuffers                  23.5.26
fonttools                    4.46.0
fqdn                         1.5.1
gast                         0.5.4
google-auth                  2.25.1
google-auth-oauthlib         1.1.0
google-pasta                 0.2.0
grpcio                       1.59.3
gym                          0.26.2
gym-notices                  0.0.8
gymnasium                    0.29.1
h5py                         3.10.0
httplib2                     0.20.2
idna                         3.6
imageio                      2.34.0
imageio-ffmpeg               0.4.9
importlib-metadata           4.6.4
ipykernel                    6.27.1
ipython                      8.18.1
ipywidgets                   8.1.1
isoduration                  20.11.0
jedi                         0.19.1
jeepney                      0.7.1
Jinja2                       3.1.2
joblib                       1.3.2
json5                        0.9.14
jsonpointer                  2.4
jsonschema                   4.20.0
jsonschema-specifications    2023.11.2
jupyter                      1.0.0
jupyter_client               8.6.0
jupyter-console              6.6.3
jupyter_core                 5.5.0
jupyter-events               0.9.0
jupyter-http-over-ws         0.0.8
jupyter-lsp                  2.2.1
jupyter_server               2.12.0
jupyter_server_terminals     0.4.4
jupyterlab                   4.0.9
jupyterlab_pygments          0.3.0
jupyterlab_server            2.25.2
jupyterlab-widgets           3.0.9
keras                        2.15.0
Keras-Preprocessing          1.1.2
keyring                      23.5.0
kiwisolver                   1.4.5
launchpadlib                 1.10.16
lazr.restfulclient           0.14.4
lazr.uri                     1.0.6
libclang                     16.0.6
Markdown                     3.5.1
MarkupSafe                   2.1.3
matplotlib                   3.8.2
matplotlib-inline            0.1.6
mistune                      3.0.2
ml-dtypes                    0.2.0
more-itertools               8.10.0
nbclient                     0.9.0
nbconvert                    7.12.0
nbformat                     5.9.2
nest-asyncio                 1.5.8
notebook                     7.0.6
notebook_shim                0.2.3
npm                          0.1.1
numpy                        1.26.4
nvidia-cublas-cu12           12.2.5.6
nvidia-cuda-cupti-cu12       12.2.142
nvidia-cuda-nvcc-cu12        12.2.140
nvidia-cuda-nvrtc-cu12       12.2.140
nvidia-cuda-runtime-cu12     12.2.140
nvidia-cudnn-cu12            8.9.4.25
nvidia-cufft-cu12            11.0.8.103
nvidia-curand-cu12           10.3.3.141
nvidia-cusolver-cu12         11.5.2.141
nvidia-cusparse-cu12         12.1.2.141
nvidia-nccl-cu12             2.16.5
nvidia-nvjitlink-cu12        12.2.140
oauthlib                     3.2.0
opt-einsum                   3.3.0
optional-django              0.1.0
overrides                    7.4.0
packaging                    23.2
pandas                       2.2.1
pandocfilters                1.5.0
parso                        0.8.3
pexpect                      4.9.0
Pillow                       10.1.0
pip                          24.0
platformdirs                 4.1.0
plotly                       5.19.0
prometheus-client            0.19.0
prompt-toolkit               3.0.41
protobuf                     4.23.4
psutil                       5.9.6
ptyprocess                   0.7.0
pure-eval                    0.2.2
pyasn1                       0.5.1
pyasn1-modules               0.3.0
pycparser                    2.21
pygame                       2.5.2
Pygments                     2.17.2
PyGObject                    3.42.1
PyJWT                        2.3.0
PyOpenGL                     3.1.5
pyparsing                    2.4.7
python-apt                   2.4.0+ubuntu3
python-dateutil              2.8.2
python-json-logger           2.0.7
pytz                         2024.1
PyVirtualDisplay             3.0
PyYAML                       6.0.1
pyzmq                        25.1.2
qtconsole                    5.5.1
QtPy                         2.4.1
referencing                  0.31.1
requests                     2.31.0
requests-oauthlib            1.3.1
rfc3339-validator            0.1.4
rfc3986-validator            0.1.1
rpds-py                      0.13.2
rsa                          4.9
scikit-learn                 1.4.1.post1
scipy                        1.12.0
SecretStorage                3.3.1
Send2Trash                   1.8.2
setuptools                   69.1.1
six                          1.16.0
sniffio                      1.3.0
soupsieve                    2.5
ssh-import-id                5.11
stack-data                   0.6.3
swig                         4.2.1
tabulate                     0.9.0
tenacity                     8.2.3
tensorboard                  2.15.1
tensorboard-data-server      0.7.2
tensorflow                   2.15.0.post1
tensorflow-estimator         2.15.0
tensorflow-io-gcs-filesystem 0.34.0
termcolor                    2.4.0
terminado                    0.18.0
threadpoolctl                3.3.0
tinycss2                     1.2.1
tornado                      6.4
traitlets                    5.14.0
types-python-dateutil        2.8.19.14
typing_extensions            4.8.0
tzdata                       2024.1
ufal.pybox2d                 2.3.10.3
uri-template                 1.3.0
urllib3                      2.1.0
wadllib                      1.3.6
wcwidth                      0.2.12
webcolors                    1.13
webencodings                 0.5.1
websocket-client             1.7.0
Werkzeug                     3.0.1
wheel                        0.43.0
widgetsnbextension           4.0.9
wrapt                        1.14.1
xyzservices                  2023.10.1
zipp                         1.0.0

A2. apt的安装清单

$ apt list --installed
Listing... Done
adduser/jammy,now 3.118ubuntu5 all [installed]
alsa-topology-conf/jammy,now 1.2.5.1-2 all [installed,automatic]
alsa-ucm-conf/jammy-updates,now 1.2.6.3-1ubuntu1.11 all [installed,automatic]
apt/jammy-updates,now 2.4.11 amd64 [installed]
base-files/jammy-updates,now 12ubuntu4.6 amd64 [installed]
base-passwd/jammy,now 3.5.52build1 amd64 [installed]
bash/jammy,now 5.1-6ubuntu1 amd64 [installed]
binutils-common/jammy-updates,jammy-security,now 2.38-4ubuntu2.6 amd64 [installed,automatic]
binutils-x86-64-linux-gnu/jammy-updates,jammy-security,now 2.38-4ubuntu2.6 amd64 [installed,automatic]
binutils/jammy-updates,jammy-security,now 2.38-4ubuntu2.6 amd64 [installed,automatic]
bsdutils/jammy,now 1:2.37.2-4ubuntu3 amd64 [installed]
build-essential/jammy,now 12.9ubuntu3 amd64 [installed]
bzip2/jammy,now 1.0.8-5build1 amd64 [installed,automatic]
ca-certificates/jammy-updates,jammy-security,now 20230311ubuntu0.22.04.1 all [installed]
coreutils/jammy-updates,now 8.32-4.1ubuntu1.1 amd64 [installed]
cpp-11/jammy-updates,jammy-security,now 11.4.0-1ubuntu1~22.04 amd64 [installed,automatic]
cpp/jammy,now 4:11.2.0-1ubuntu1 amd64 [installed,automatic]
cuda-cccl-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-command-line-tools-12-3/unknown,now 12.3.2-1 amd64 [installed]
cuda-compat-12-3/unknown,now 545.23.08-1 amd64 [installed]
cuda-crt-12-3/unknown,now 12.3.107-1 amd64 [installed,automatic]
cuda-cudart-12-3/unknown,now 12.3.101-1 amd64 [installed]
cuda-cudart-dev-12-3/unknown,now 12.3.101-1 amd64 [installed]
cuda-cuobjdump-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-cupti-12-3/unknown,now 12.3.101-1 amd64 [installed]
cuda-cupti-dev-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-driver-dev-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-gdb-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-keyring/unknown,now 1.1-1 all [installed]
cuda-libraries-12-3/unknown,now 12.3.2-1 amd64 [installed]
cuda-nvcc-12-3/unknown,now 12.3.107-1 amd64 [installed]
cuda-nvdisasm-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-nvprof-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-nvprune-12-3/unknown,now 12.3.101-1 amd64 [installed]
cuda-nvrtc-12-3/unknown,now 12.3.107-1 amd64 [installed]
cuda-nvtx-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-nvvm-12-3/unknown,now 12.3.107-1 amd64 [installed,automatic]
cuda-opencl-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-sanitizer-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
cuda-toolkit-12-3-config-common/unknown,now 12.3.101-1 all [installed,automatic]
cuda-toolkit-12-config-common/unknown,now 12.4.99-1 all [installed,automatic]
cuda-toolkit-config-common/unknown,now 12.4.99-1 all [installed,automatic]
cudnn9-cuda-12-3/unknown,now 9.0.0.312-1 amd64 [installed,automatic]
cudnn9-cuda-12/unknown,now 9.0.0.312-1 amd64 [installed,automatic]
cudnn9/unknown,now 9.0.0-1 amd64 [installed,automatic]
cudnn/unknown,now 9.0.0-1 amd64 [installed]
curl/jammy-updates,jammy-security,now 7.81.0-1ubuntu1.15 amd64 [installed]
dash/jammy,now 0.5.11+git20210903+057cd650a4ed-3build1 amd64 [installed]
dbus/jammy-updates,jammy-security,now 1.12.20-2ubuntu4.1 amd64 [installed,automatic]
debconf/jammy,now 1.5.79ubuntu1 all [installed]
debianutils/jammy,now 5.5-1ubuntu2 amd64 [installed]
diffutils/jammy,now 1:3.8-0ubuntu2 amd64 [installed]
dirmngr/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 amd64 [installed,automatic]
distro-info-data/jammy-updates,now 0.52ubuntu0.6 all [installed,automatic]
dpkg-dev/jammy-updates,now 1.21.1ubuntu2.3 all [installed,automatic]
dpkg/jammy-updates,now 1.21.1ubuntu2.3 amd64 [installed]
e2fsprogs/jammy-updates,jammy-security,now 1.46.5-2ubuntu1.1 amd64 [installed]
findutils/jammy,now 4.8.0-1ubuntu3 amd64 [installed]
fluid-soundfont-gm/jammy,now 3.1-5.3 all [installed]
fontconfig-config/jammy,now 2.13.1-4.2ubuntu5 all [installed,automatic]
fontconfig/jammy,now 2.13.1-4.2ubuntu5 amd64 [installed]
fonts-dejavu-core/jammy,now 2.37-2build1 all [installed,automatic]
fonts-freefont-ttf/jammy,now 20120503-10build1 all [installed]
freeglut3/jammy,now 2.8.1-6 amd64 [installed,automatic]
g++-11/jammy-updates,jammy-security,now 11.4.0-1ubuntu1~22.04 amd64 [installed,automatic]
g++/jammy,now 4:11.2.0-1ubuntu1 amd64 [installed,automatic]
gcc-11-base/jammy-updates,jammy-security,now 11.4.0-1ubuntu1~22.04 amd64 [installed,automatic]
gcc-11/jammy-updates,jammy-security,now 11.4.0-1ubuntu1~22.04 amd64 [installed,automatic]
gcc-12-base/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed]
gcc/jammy,now 4:11.2.0-1ubuntu1 amd64 [installed,automatic]
gir1.2-glib-2.0/jammy,now 1.72.0-1 amd64 [installed,automatic]
gir1.2-ibus-1.0/jammy,now 1.5.26-4 amd64 [installed,automatic]
gir1.2-packagekitglib-1.0/jammy,now 1.2.5-2ubuntu2 amd64 [installed,automatic]
git-man/jammy-updates,now 1:2.34.1-1ubuntu1.10 all [installed,automatic]
git/jammy-updates,now 1:2.34.1-1ubuntu1.10 amd64 [installed]
gnupg-l10n/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 all [installed,automatic]
gnupg-utils/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 amd64 [installed,automatic]
gnupg2/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 all [installed]
gnupg/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 all [installed]
gpg-agent/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 amd64 [installed,automatic]
gpg-wks-client/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 amd64 [installed,automatic]
gpg-wks-server/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 amd64 [installed,automatic]
gpg/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 amd64 [installed,automatic]
gpgconf/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 amd64 [installed,automatic]
gpgsm/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 amd64 [installed,automatic]
gpgv/jammy-updates,jammy-security,now 2.2.27-3ubuntu2.1 amd64 [installed]
grep/jammy,now 3.7-1build1 amd64 [installed]
gzip/jammy-updates,now 1.10-4ubuntu4.1 amd64 [installed]
hostname/jammy,now 3.23ubuntu2 amd64 [installed]
i965-va-driver/jammy,now 2.4.1+dfsg1-1 amd64 [installed,automatic]
init-system-helpers/jammy,now 1.62 all [installed]
intel-media-va-driver/jammy-updates,now 22.3.1+dfsg1-1ubuntu2 amd64 [installed,automatic]
iso-codes/jammy,now 4.9.0-1 all [installed,automatic]
javascript-common/jammy,now 11+nmu1 all [installed,automatic]
libaacs0/jammy,now 0.11.1-1 amd64 [installed,automatic]
libacl1/jammy,now 2.3.1-1 amd64 [installed]
libaom3/jammy,now 3.3.0-1 amd64 [installed,automatic]
libapparmor1/jammy-updates,now 3.0.4-2ubuntu2.3 amd64 [installed,automatic]
libappstream4/jammy,now 0.15.2-2 amd64 [installed,automatic]
libapt-pkg6.0/jammy-updates,now 2.4.11 amd64 [installed]
libargon2-1/jammy,now 0~20171227-0.3 amd64 [installed,automatic]
libasan6/jammy-updates,jammy-security,now 11.4.0-1ubuntu1~22.04 amd64 [installed,automatic]
libasound2-data/jammy,now 1.2.6.1-1ubuntu1 all [installed,automatic]
libasound2-dev/jammy,now 1.2.6.1-1ubuntu1 amd64 [installed,automatic]
libasound2/jammy,now 1.2.6.1-1ubuntu1 amd64 [installed]
libassuan0/jammy,now 2.5.5-1build1 amd64 [installed,automatic]
libasyncns0/jammy,now 0.8-6build2 amd64 [installed,automatic]
libatomic1/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed,automatic]
libattr1/jammy,now 1:2.5.1-1build1 amd64 [installed]
libaudit-common/jammy,now 1:3.0.7-1build1 all [installed]
libaudit1/jammy,now 1:3.0.7-1build1 amd64 [installed]
libavcodec-dev/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed]
libavcodec58/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed,automatic]
libavformat-dev/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed]
libavformat58/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed,automatic]
libavutil-dev/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed,automatic]
libavutil56/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed,automatic]
libbdplus0/jammy,now 0.2.0-1 amd64 [installed,automatic]
libbinutils/jammy-updates,jammy-security,now 2.38-4ubuntu2.6 amd64 [installed,automatic]
libblas3/jammy,now 3.10.0-2ubuntu1 amd64 [installed,automatic]
libblkid-dev/jammy,now 2.37.2-4ubuntu3 amd64 [installed,automatic]
libblkid1/jammy,now 2.37.2-4ubuntu3 amd64 [installed]
libbluray2/jammy,now 1:1.3.1-1 amd64 [installed,automatic]
libbrotli-dev/jammy,now 1.0.9-2build6 amd64 [installed,automatic]
libbrotli1/jammy,now 1.0.9-2build6 amd64 [installed,automatic]
libbsd0/jammy,now 0.11.5-1 amd64 [installed,automatic]
libbz2-1.0/jammy,now 1.0.8-5build1 amd64 [installed]
libc-bin/jammy-updates,jammy-security,now 2.35-0ubuntu3.6 amd64 [installed]
libc-dev-bin/jammy-updates,jammy-security,now 2.35-0ubuntu3.6 amd64 [installed,automatic]
libc6-dev/jammy-updates,jammy-security,now 2.35-0ubuntu3.6 amd64 [installed,automatic]
libc6/jammy-updates,jammy-security,now 2.35-0ubuntu3.6 amd64 [installed]
libcaca-dev/jammy,now 0.99.beta19-2.2ubuntu4 amd64 [installed,automatic]
libcaca0/jammy,now 0.99.beta19-2.2ubuntu4 amd64 [installed,automatic]
libcairo-gobject2/jammy,now 1.16.0-5ubuntu2 amd64 [installed,automatic]
libcairo2/jammy,now 1.16.0-5ubuntu2 amd64 [installed,automatic]
libcap-ng0/jammy,now 0.7.9-2.2build3 amd64 [installed]
libcap2-bin/jammy-updates,jammy-security,now 1:2.44-1ubuntu0.22.04.1 amd64 [installed,automatic]
libcap2/jammy-updates,jammy-security,now 1:2.44-1ubuntu0.22.04.1 amd64 [installed]
libcbor0.8/jammy,now 0.8.0-2ubuntu1 amd64 [installed,automatic]
libcc1-0/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed,automatic]
libchromaprint1/jammy,now 1.5.1-2 amd64 [installed,automatic]
libcodec2-1.0/jammy,now 1.0.1-3 amd64 [installed,automatic]
libcom-err2/jammy-updates,jammy-security,now 1.46.5-2ubuntu1.1 amd64 [installed]
libcrypt-dev/jammy,now 1:4.4.27-1 amd64 [installed,automatic]
libcrypt1/jammy,now 1:4.4.27-1 amd64 [installed]
libcryptsetup12/jammy-updates,now 2:2.4.3-1ubuntu1.2 amd64 [installed,automatic]
libctf-nobfd0/jammy-updates,jammy-security,now 2.38-4ubuntu2.6 amd64 [installed,automatic]
libctf0/jammy-updates,jammy-security,now 2.38-4ubuntu2.6 amd64 [installed,automatic]
libcublas-12-3/unknown,now 12.3.4.1-1 amd64 [installed]
libcudnn9-cuda-12/unknown,now 9.0.0.312-1 amd64 [installed,automatic]
libcudnn9-dev-cuda-12/unknown,now 9.0.0.312-1 amd64 [installed,automatic]
libcudnn9-samples/unknown,now 9.0.0.312-1 all [installed,automatic]
libcudnn9-static-cuda-12/unknown,now 9.0.0.312-1 amd64 [installed,automatic]
libcufft-12-3/unknown,now 11.0.12.1-1 amd64 [installed]
libcufile-12-3/unknown,now 1.8.1.2-1 amd64 [installed,automatic]
libcurand-12-3/unknown,now 10.3.4.107-1 amd64 [installed]
libcurl3-gnutls/jammy-updates,jammy-security,now 7.81.0-1ubuntu1.15 amd64 [installed,automatic]
libcurl4/jammy-updates,jammy-security,now 7.81.0-1ubuntu1.15 amd64 [installed,automatic]
libcusolver-12-3/unknown,now 11.5.4.101-1 amd64 [installed]
libcusparse-12-3/unknown,now 12.2.0.103-1 amd64 [installed]
libdatrie1/jammy,now 0.2.13-2 amd64 [installed,automatic]
libdav1d5/jammy,now 0.9.2-1 amd64 [installed,automatic]
libdb5.3/jammy,now 5.3.28+dfsg1-0.8ubuntu3 amd64 [installed]
libdbus-1-3/jammy-updates,jammy-security,now 1.12.20-2ubuntu4.1 amd64 [installed,automatic]
libdbus-1-dev/jammy-updates,jammy-security,now 1.12.20-2ubuntu4.1 amd64 [installed,automatic]
libdebconfclient0/jammy,now 0.261ubuntu1 amd64 [installed]
libdecor-0-0/jammy,now 0.1.0-3build1 amd64 [installed,automatic]
libdecor-0-dev/jammy,now 0.1.0-3build1 amd64 [installed,automatic]
libdecor-0-plugin-1-cairo/jammy,now 0.1.0-3build1 amd64 [installed,automatic]
libdeflate-dev/jammy,now 1.10-2 amd64 [installed,automatic]
libdeflate0/jammy,now 1.10-2 amd64 [installed,automatic]
libdevmapper1.02.1/jammy,now 2:1.02.175-2.1ubuntu4 amd64 [installed,automatic]
libdpkg-perl/jammy-updates,now 1.21.1ubuntu2.3 all [installed,automatic]
libdrm-amdgpu1/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed,automatic]
libdrm-common/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 all [installed,automatic]
libdrm-dev/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed,automatic]
libdrm-intel1/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed,automatic]
libdrm-nouveau2/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed,automatic]
libdrm-radeon1/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed,automatic]
libdrm2/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed,automatic]
libdw1/jammy,now 0.186-1build1 amd64 [installed,automatic]
libedit2/jammy,now 3.1-20210910-1build1 amd64 [installed,automatic]
libegl-dev/jammy,now 1.4.0-1 amd64 [installed,automatic]
libegl-mesa0/jammy-updates,now 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic]
libegl1-mesa-dev/jammy-updates,now 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic]
libegl1-mesa/jammy-updates,now 23.0.4-0ubuntu1~22.04.1 amd64 [installed]
libegl1/jammy,now 1.4.0-1 amd64 [installed,automatic]
libelf1/jammy,now 0.186-1build1 amd64 [installed,automatic]
liberror-perl/jammy,now 0.17029-1 all [installed,automatic]
libexpat1-dev/jammy-updates,jammy-security,now 2.4.7-1ubuntu0.2 amd64 [installed,automatic]
libexpat1/jammy-updates,jammy-security,now 2.4.7-1ubuntu0.2 amd64 [installed,automatic]
libext2fs2/jammy-updates,jammy-security,now 1.46.5-2ubuntu1.1 amd64 [installed]
libffi-dev/jammy,now 3.4.2-4 amd64 [installed,automatic]
libffi8/jammy,now 3.4.2-4 amd64 [installed]
libfido2-1/jammy,now 1.10.0-1 amd64 [installed,automatic]
libflac-dev/jammy-updates,jammy-security,now 1.3.3-2ubuntu0.2 amd64 [installed,automatic]
libflac8/jammy-updates,jammy-security,now 1.3.3-2ubuntu0.2 amd64 [installed,automatic]
libfluidsynth3/jammy,now 2.2.5-1 amd64 [installed,automatic]
libfontconfig1/jammy,now 2.13.1-4.2ubuntu5 amd64 [installed,automatic]
libfontenc1/jammy,now 1:1.1.4-1build3 amd64 [installed,automatic]
libfreetype-dev/jammy-updates,jammy-security,now 2.11.1+dfsg-1ubuntu0.2 amd64 [installed,automatic]
libfreetype6-dev/jammy-updates,jammy-security,now 2.11.1+dfsg-1ubuntu0.2 amd64 [installed]
libfreetype6/jammy-updates,jammy-security,now 2.11.1+dfsg-1ubuntu0.2 amd64 [installed,automatic]
libfribidi0/jammy-updates,jammy-security,now 1.0.8-2ubuntu3.1 amd64 [installed,automatic]
libgbm-dev/jammy-updates,now 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic]
libgbm1/jammy-updates,now 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic]
libgcc-11-dev/jammy-updates,jammy-security,now 11.4.0-1ubuntu1~22.04 amd64 [installed,automatic]
libgcc-s1/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed]
libgcrypt20/jammy,now 1.9.4-3ubuntu3 amd64 [installed]
libgdbm-compat4/jammy,now 1.23-1 amd64 [installed,automatic]
libgdbm6/jammy,now 1.23-1 amd64 [installed,automatic]
libgdk-pixbuf-2.0-0/jammy-updates,now 2.42.8+dfsg-1ubuntu0.2 amd64 [installed,automatic]
libgdk-pixbuf2.0-bin/jammy-updates,now 2.42.8+dfsg-1ubuntu0.2 amd64 [installed,automatic]
libgdk-pixbuf2.0-common/jammy-updates,now 2.42.8+dfsg-1ubuntu0.2 all [installed,automatic]
libgfortran5/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed,automatic]
libgirepository-1.0-1/jammy,now 1.72.0-1 amd64 [installed,automatic]
libgl-dev/jammy,now 1.4.0-1 amd64 [installed,automatic]
libgl1-amber-dri/jammy-updates,now 21.3.9-0ubuntu1~22.04.1 amd64 [installed,automatic]
libgl1-mesa-dri/jammy-updates,now 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic]
libgl1-mesa-glx/jammy-updates,now 23.0.4-0ubuntu1~22.04.1 amd64 [installed]
libgl1/jammy,now 1.4.0-1 amd64 [installed,automatic]
libglapi-mesa/jammy-updates,now 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic]
libgles-dev/jammy,now 1.4.0-1 amd64 [installed,automatic]
libgles1/jammy,now 1.4.0-1 amd64 [installed,automatic]
libgles2/jammy,now 1.4.0-1 amd64 [installed,automatic]
libglib2.0-0/jammy-updates,jammy-security,now 2.72.4-0ubuntu2.2 amd64 [installed,automatic]
libglib2.0-bin/jammy-updates,jammy-security,now 2.72.4-0ubuntu2.2 amd64 [installed,automatic]
libglib2.0-data/jammy-updates,jammy-security,now 2.72.4-0ubuntu2.2 all [installed,automatic]
libglib2.0-dev-bin/jammy-updates,jammy-security,now 2.72.4-0ubuntu2.2 amd64 [installed,automatic]
libglib2.0-dev/jammy-updates,jammy-security,now 2.72.4-0ubuntu2.2 amd64 [installed,automatic]
libglu1-mesa-dev/jammy,now 9.0.2-1 amd64 [installed,automatic]
libglu1-mesa/jammy,now 9.0.2-1 amd64 [installed,automatic]
libglvnd-core-dev/jammy,now 1.4.0-1 amd64 [installed,automatic]
libglvnd-dev/jammy,now 1.4.0-1 amd64 [installed,automatic]
libglvnd0/jammy,now 1.4.0-1 amd64 [installed,automatic]
libglx-dev/jammy,now 1.4.0-1 amd64 [installed,automatic]
libglx-mesa0/jammy-updates,now 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic]
libglx0/jammy,now 1.4.0-1 amd64 [installed,automatic]
libgme0/jammy,now 0.6.3-2 amd64 [installed,automatic]
libgmp10/jammy,now 2:6.2.1+dfsg-3ubuntu1 amd64 [installed]
libgnutls30/jammy-updates,jammy-security,now 3.7.3-4ubuntu1.4 amd64 [installed]
libgomp1/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed,automatic]
libgpg-error0/jammy,now 1.43-3 amd64 [installed]
libgraphite2-3/jammy,now 1.3.14-1build2 amd64 [installed,automatic]
libgsm1/jammy,now 1.0.19-1 amd64 [installed,automatic]
libgssapi-krb5-2/jammy-updates,jammy-security,now 1.19.2-2ubuntu0.3 amd64 [installed]
libgstreamer1.0-0/jammy-updates,now 1.20.3-0ubuntu1 amd64 [installed,automatic]
libharfbuzz0b/jammy-updates,jammy-security,now 2.7.4-1ubuntu3.1 amd64 [installed,automatic]
libhogweed6/jammy,now 3.7.3-1build2 amd64 [installed]
libibus-1.0-5/jammy,now 1.5.26-4 amd64 [installed,automatic]
libibus-1.0-dev/jammy,now 1.5.26-4 amd64 [installed,automatic]
libice-dev/jammy,now 2:1.0.10-1build2 amd64 [installed,automatic]
libice6/jammy,now 2:1.0.10-1build2 amd64 [installed,automatic]
libicu70/jammy,now 70.1-2 amd64 [installed,automatic]
libidn2-0/jammy,now 2.3.2-2build1 amd64 [installed]
libigdgmm12/jammy,now 22.1.2+ds1-1 amd64 [installed,automatic]
libinstpatch-1.0-2/jammy,now 1.1.6-1 amd64 [installed,automatic]
libip4tc2/jammy-updates,now 1.8.7-1ubuntu5.2 amd64 [installed,automatic]
libisl23/jammy,now 0.24-2build1 amd64 [installed,automatic]
libitm1/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed,automatic]
libjack-jackd2-0/jammy,now 1.9.20~dfsg-1 amd64 [installed,automatic]
libjbig-dev/jammy-updates,jammy-security,now 2.1-3.1ubuntu0.22.04.1 amd64 [installed,automatic]
libjbig0/jammy-updates,jammy-security,now 2.1-3.1ubuntu0.22.04.1 amd64 [installed,automatic]
libjpeg-dev/jammy,now 8c-2ubuntu10 amd64 [installed]
libjpeg-turbo8-dev/jammy,now 2.1.2-0ubuntu1 amd64 [installed,automatic]
libjpeg-turbo8/jammy,now 2.1.2-0ubuntu1 amd64 [installed,automatic]
libjpeg8-dev/jammy,now 8c-2ubuntu10 amd64 [installed,automatic]
libjpeg8/jammy,now 8c-2ubuntu10 amd64 [installed,automatic]
libjs-jquery/jammy,now 3.6.0+dfsg+~3.5.13-1 all [installed,automatic]
libjs-sphinxdoc/jammy,now 4.3.2-1 all [installed,automatic]
libjs-underscore/jammy,now 1.13.2~dfsg-2 all [installed,automatic]
libjson-c5/jammy-updates,jammy-security,now 0.15-3~ubuntu1.22.04.2 amd64 [installed,automatic]
libk5crypto3/jammy-updates,jammy-security,now 1.19.2-2ubuntu0.3 amd64 [installed]
libkeyutils1/jammy,now 1.6.1-2ubuntu3 amd64 [installed]
libkmod2/jammy,now 29-1ubuntu1 amd64 [installed,automatic]
libkrb5-3/jammy-updates,jammy-security,now 1.19.2-2ubuntu0.3 amd64 [installed]
libkrb5support0/jammy-updates,jammy-security,now 1.19.2-2ubuntu0.3 amd64 [installed]
libksba8/jammy-updates,jammy-security,now 1.6.0-2ubuntu0.2 amd64 [installed,automatic]
liblapack3/jammy,now 3.10.0-2ubuntu1 amd64 [installed,automatic]
libldap-2.5-0/jammy-updates,jammy-security,now 2.5.16+dfsg-0ubuntu0.22.04.2 amd64 [installed,automatic]
libllvm15/jammy-updates,jammy-security,now 1:15.0.7-0ubuntu0.22.04.3 amd64 [installed,automatic]
liblsan0/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed,automatic]
liblz4-1/jammy,now 1.9.3-2build2 amd64 [installed]
liblzma-dev/jammy,now 5.2.5-2ubuntu1 amd64 [installed,automatic]
liblzma5/jammy,now 5.2.5-2ubuntu1 amd64 [installed]
libmad0-dev/jammy,now 0.15.1b-10ubuntu1 amd64 [installed,automatic]
libmad0/jammy,now 0.15.1b-10ubuntu1 amd64 [installed,automatic]
libmd0/jammy,now 1.0.4-1build1 amd64 [installed,automatic]
libmfx1/jammy,now 22.3.0-1 amd64 [installed,automatic]
libmikmod-dev/jammy,now 3.3.11.1-6 amd64 [installed,automatic]
libmikmod3/jammy,now 3.3.11.1-6 amd64 [installed,automatic]
libmodplug1/jammy,now 1:0.8.9.0-3 amd64 [installed,automatic]
libmount-dev/jammy,now 2.37.2-4ubuntu3 amd64 [installed,automatic]
libmount1/jammy,now 2.37.2-4ubuntu3 amd64 [installed]
libmp3lame0/jammy,now 3.100-3build2 amd64 [installed,automatic]
libmpc3/jammy,now 1.2.1-2build1 amd64 [installed,automatic]
libmpdec3/jammy,now 2.5.1-2build2 amd64 [installed,automatic]
libmpfr6/jammy,now 4.1.0-3build3 amd64 [installed,automatic]
libmpg123-0/jammy,now 1.29.3-1build1 amd64 [installed,automatic]
libnccl-dev/unknown,now 2.20.5-1+cuda12.4 amd64 [installed]
libnccl2/unknown,now 2.20.5-1+cuda12.4 amd64 [installed]
libncurses6/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed]
libncursesw6/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed]
libnettle8/jammy,now 3.7.3-1build2 amd64 [installed]
libnghttp2-14/jammy-updates,jammy-security,now 1.43.0-1ubuntu0.1 amd64 [installed,automatic]
libnorm1/jammy,now 1.5.9+dfsg-2 amd64 [installed,automatic]
libnpp-12-3/unknown,now 12.2.3.2-1 amd64 [installed,automatic]
libnpth0/jammy,now 1.6-3build2 amd64 [installed,automatic]
libnsl-dev/jammy,now 1.3.0-2build2 amd64 [installed,automatic]
libnsl2/jammy,now 1.3.0-2build2 amd64 [installed]
libnuma1/jammy,now 2.0.14-3ubuntu2 amd64 [installed,automatic]
libnvjitlink-12-3/unknown,now 12.3.101-1 amd64 [installed,automatic]
libnvjpeg-12-3/unknown,now 12.3.0.81-1 amd64 [installed,automatic]
libogg-dev/jammy,now 1.3.5-0ubuntu3 amd64 [installed,automatic]
libogg0/jammy,now 1.3.5-0ubuntu3 amd64 [installed,automatic]
libopenal-data/jammy,now 1:1.19.1-2build3 all [installed,automatic]
libopenal1/jammy,now 1:1.19.1-2build3 amd64 [installed,automatic]
libopengl-dev/jammy,now 1.4.0-1 amd64 [installed,automatic]
libopengl0/jammy,now 1.4.0-1 amd64 [installed,automatic]
libopenjp2-7/jammy,now 2.4.0-6 amd64 [installed,automatic]
libopenmpt0/jammy,now 0.6.1-1 amd64 [installed,automatic]
libopus0/jammy,now 1.3.1-0.1build2 amd64 [installed,automatic]
libopusfile0/jammy,now 0.9+20170913-1.1build1 amd64 [installed,automatic]
libp11-kit0/jammy,now 0.24.0-6build1 amd64 [installed]
libpackagekit-glib2-18/jammy,now 1.2.5-2ubuntu2 amd64 [installed,automatic]
libpam-modules-bin/jammy-updates,jammy-security,now 1.4.0-11ubuntu2.4 amd64 [installed]
libpam-modules/jammy-updates,jammy-security,now 1.4.0-11ubuntu2.4 amd64 [installed]
libpam-runtime/jammy-updates,jammy-security,now 1.4.0-11ubuntu2.4 all [installed]
libpam-systemd/jammy-updates,now 249.11-0ubuntu3.12 amd64 [installed,automatic]
libpam0g/jammy-updates,jammy-security,now 1.4.0-11ubuntu2.4 amd64 [installed]
libpango-1.0-0/jammy-updates,now 1.50.6+ds-2ubuntu1 amd64 [installed,automatic]
libpangocairo-1.0-0/jammy-updates,now 1.50.6+ds-2ubuntu1 amd64 [installed,automatic]
libpangoft2-1.0-0/jammy-updates,now 1.50.6+ds-2ubuntu1 amd64 [installed,automatic]
libpci3/jammy,now 1:3.7.0-6 amd64 [installed,automatic]
libpciaccess-dev/jammy,now 0.16-3 amd64 [installed,automatic]
libpciaccess0/jammy,now 0.16-3 amd64 [installed,automatic]
libpcre16-3/jammy-updates,jammy-security,now 2:8.39-13ubuntu0.22.04.1 amd64 [installed,automatic]
libpcre2-16-0/jammy-updates,jammy-security,now 10.39-3ubuntu0.1 amd64 [installed,automatic]
libpcre2-32-0/jammy-updates,jammy-security,now 10.39-3ubuntu0.1 amd64 [installed,automatic]
libpcre2-8-0/jammy-updates,jammy-security,now 10.39-3ubuntu0.1 amd64 [installed]
libpcre2-dev/jammy-updates,jammy-security,now 10.39-3ubuntu0.1 amd64 [installed,automatic]
libpcre2-posix3/jammy-updates,jammy-security,now 10.39-3ubuntu0.1 amd64 [installed,automatic]
libpcre3-dev/jammy-updates,jammy-security,now 2:8.39-13ubuntu0.22.04.1 amd64 [installed,automatic]
libpcre32-3/jammy-updates,jammy-security,now 2:8.39-13ubuntu0.22.04.1 amd64 [installed,automatic]
libpcre3/jammy-updates,jammy-security,now 2:8.39-13ubuntu0.22.04.1 amd64 [installed]
libpcrecpp0v5/jammy-updates,jammy-security,now 2:8.39-13ubuntu0.22.04.1 amd64 [installed,automatic]
libperl5.34/jammy-updates,jammy-security,now 5.34.0-3ubuntu1.3 amd64 [installed,automatic]
libpgm-5.3-0/jammy,now 5.3.128~dfsg-2 amd64 [installed,automatic]
libpixman-1-0/jammy-updates,jammy-security,now 0.40.0-1ubuntu0.22.04.1 amd64 [installed,automatic]
libpng-dev/jammy,now 1.6.37-3build5 amd64 [installed,automatic]
libpng-tools/jammy,now 1.6.37-3build5 amd64 [installed,automatic]
libpng16-16/jammy,now 1.6.37-3build5 amd64 [installed,automatic]
libpolkit-agent-1-0/jammy,now 0.105-33 amd64 [installed,automatic]


**网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。**

**[需要这份系统化的资料的朋友,可以点击这里获取!](https://bbs.csdn.net/topics/618542503)**

**一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!**
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值