Bootstrap

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

动机

在Coursera上完成了吴老师的 Machine Learning Specialization,里面有很多练习在Coursera上提交了,但是由于众所周知的原因,还是希望在本地化上有一个能跑的环境。吴老师的练习里面应该也有不少后续可以参考的代码。

环境选择

原先我是在Win 10 + Anaconda 上运行python + jupyter notebook来跑,无奈在Reinforcement Learning的lab里,老师用了pyvirtualdisplay。在Windows下没有合适的调用方式,看了一下相关代码量还不少,也不好简单改写成windows的库,看来还是要上Linux呢。

顺带再查了一下Tensorflow的手册1

从2.11.1开始,TensorFlow已经抛弃原生windows平台的GPU支持,再考虑环境的可复制性和隔离性,所以顺理成章地采用 wsl+docker+tensorflow[+cuda]的方案2

安装步骤

1. WSL安装

在Win10/Win11下安装wsl毫无难度,因此不再赘述了。
可以参考微软官方文档How to install Linux on Windows with WSL
基本就是一句wsl --install就完事儿了。主要我们要用的是wsl2,默认情况下安装的就已经是wsl2了

# 1. wsl安装
PS C:\WINDOWS\system32> wsl --install
## 查看wsl版本
PS C:\WINDOWS\system32> wsl -l -v
## 指定wsl版本为wsl2
PS C:\WINDOWS\system32> wsl --set-default-version 2
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
The operation completed successfully.

# 2. 安装Window下的ubuntu
PS C:\WINDOWS\system32> wsl --install -d Ubuntu
## 安装完后设置用户名和密码

PS C:\WINDOWS\system32> wsl -l
Windows Subsystem for Linux Distributions:
Ubuntu (Default)

2. docker安装

之前在windows下安装docker还挺麻烦的,现在有了docker desktop方便很多了。
参考Install Docker Desktop on Windows下载windows版本的安装包一路next即可

2.1 配置Docker Desktop

  1. Settings -> General
    Use the WSL 2 based engines的checkbox勾上
    在这里插入图片描述
  2. Settings ->Resources->WSL integration
    Enable integration with my default WSL distro的checkbox勾上
    在这里插入图片描述
  3. Settings ->Docker Engine
    增加docker镜像源,提升镜像拉取速度
    在这里插入图片描述
{
  "builder": {
    "gc": {
      "defaultKeepStorage": "20GB",
      "enabled": true
    }
  },
  "debug": true,
  "experimental": false,
  "insecure-registries": [],
  "registry-mirrors": [
    "http://hub-mirror.c.163.com",
    "https://registry.docker-cn.com",
    "https://docker.mirrors.ustc.edu.cn",
    "https://docker.m.daocloud.io",
    "https://dockerproxy.com",
    "https://docker.nju.edu.cn",
    "https://mirror.baidubce.com",
    "https://docker.mirrors.sjtug.sjtu.edu.cn"
  ],
  "runtimes": {
    "nvidia": {
      "args": [],
      "path": "nvidia-container-runtime"
    }
  }
}

2.2 WSL上的docker使用

最重要的是,不要 从windows主机上运行docker(不要在cmd里面直接调用docker命令),而是从Linux宿主机即WSL上启动docker,同样的文件也最好放在Linux宿主机的文件系统上3

2.3 Docker Destop的登陆

docker hub目前我注册不上……
不过目测不影响使用,主要问题是没法push自己的镜像上docker hub

2.4 测试一下

docker run命令测试一下docker安装的情况

docker run hello-world

# Unable to find image 'hello-world:latest' locally
# latest: Pulling from library/hello-world
# 0e03bdcc26d7: Pull complete 
# Digest: sha256:4cf9c47f86df71d48364001ede3a4fcd85ae80ce02ebad74156906caff5378bc
# Status: Downloaded newer image for hello-world:latest
# 
# Hello from Docker!
# This message shows that your installation appears to be working correctly.
# 
# To generate this message, Docker took the following steps:
#  1. The Docker client contacted the Docker daemon.
#  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
#     (amd64)
#  3. The Docker daemon created a new container from that image which runs the
#     executable that produces the output you are currently reading.
#  4. The Docker daemon streamed that output to the Docker client, which sent it
#     to your terminal.
#
# To try something more ambitious, you can run an Ubuntu container with:
#  $ docker run -it ubuntu bash
# 
# Share images, automate workflows, and more with a free Docker ID:
#  https://hub.docker.com/
#
# For more examples and ideas, visit:
#  https://docs.docker.com/get-started/

打开powershell,可以看到有3个wsl的distribusion,后两个是docker desktop启动的,所以不用担心4

PS C:\WINDOWS\system32> wsl -l
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
docker-desktop-data
docker-desktop

Note
Docker Desktop installs two special-purpose internal Linux distros docker-desktop and docker-desktop-data. The first (docker-desktop) is used to run the Docker engine (dockerd) while the second (docker-desktop-data) stores containers and images. Neither can be used for general development.

3. 在WSL上安装CUDA

按照英伟达的官方guideCUDA on WSL User Guide上的官方大图
在这里插入图片描述
我们需要在Windows上安装英伟达驱动,再在WSL上安装CUDA。
所以首先我们要把Windows上的英伟达驱动更新到最新。

请注意:根据官方说明:不要在WSL上安装任何Linux相关的GPU driver。 一旦在系统中安装了 Windows 英伟达™(NVIDIA®)GPU 驱动程序,CUDA 就可以在 WSL 2 中使用。Windows 主机上安装的 CUDA 驱动程序将作为 libcuda.so 存根在 WSL 2 中,因此users must not install any NVIDIA GPU Linux driver within WSL 2

3.1 Software list needed

请参考原表逐个进行安装NVIDIA Compute Software Support on WSL 2

PackageSuggested VersionsInstallation
1. NVIDIA Windows Driver x86Use the latest Windows x86 production driver. R495 and later windows will have CUDA support for WSL 2. NVIDIA-SMI will have a Limited Feature Set on WSL 2. Legacy CUDA IPC APIs are support from R510.Windows x86 drivers can be directly downloaded from https://www.nvidia.com/Download/index.aspx for WSL 2 support on Pascal or later GPUs.
2. Docker supportSupported.NVIDIA Container Toolkit - Minimum versions - v2.6.0 with libnvidia-container - 1.5.1+ CLI and Docker Desktop Supported.
3. CUDA Toolkit and CUDA Developer ToolsPreview Support Compute Sanitizer - Pascal and later Nsight Systems CLI, and CUPTI (Trace) - Volta and later Developer tools - Debuggers - Pascal and later (Using driver r535+) Developer tools - Profilers - Volta and later (Using Windows 10 OS build 19044+ with driver r545+ or using Windows 11 with driver r525+ )Latest Linux CUDA toolkit package - WSL-Ubuntu from 12.x releases can be downloaded from https://developer.nvidia.com/cuda-downloads.
4. RAPIDS22.04 or later 1.10 - Experimental Support for single GPU.https://docs.rapids.ai/notices/rgn0024/
5. NCCL2.12 or later 1.4+Refer to the NCCL Installation guide for Linux x86.

3.2 CUDA Support for WSL 2

本章直接参考 https://docs.nvidia.com/cuda/wsl-user-guide/index.html#cuda-support-for-wsl-2,总结一下方便各位使用。

1. Windows Driver安装

NVIDIA Windows GPU Driver(上表第一项)安装符合你的显卡的Nvidia windows 驱动。安装完后可以在cmd用nvidia-smi查看

2. CUDA Toolkit安装

根据NVIDIA Container Toolkit,这部分的安装似乎可以在容器内执行,不过我还是在WSL上安装了。有兴趣的朋友可以试一下跳过这一节。
在这里插入图片描述

这节需要进入WSL中进行操作

  1. 删除GPG key
sudo apt-key del 7fa2af80
  1. 安装CUDA toolkit 12.4
    按照 WSL-Ubuntu 的 CUDA 下载页面上的步骤操作,在 WSL 上安装不包含Linux GPU驱动程序的CUDA Toolkit。页面打开如下:
    在这里插入图片描述
    我这边的命令是:
wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-wsl-ubuntu.pin
sudo mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda-repo-wsl-ubuntu-12-4-local_12.4.0-1_amd64.deb
sudo dpkg -i cuda-repo-wsl-ubuntu-12-4-local_12.4.0-1_amd64.deb
sudo cp /var/cuda-repo-wsl-ubuntu-12-4-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-4
Trouble shooting
  1. 执行时遇到域名无法解析
--2024-03-06 14:01:41--  https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-wsl-ubuntu.pin
Resolving developer.download.nvidia.com (developer.download.nvidia.com)... failed: Temporary failure in name resolution.wget: unable to resolve host address ‘developer.download.nvidia.com’

此时的解决方案是

$ echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
#或
$ echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/base > /dev/null

立马有效,灵

  1. 国内网络环境往往不是太好,wget如果断了如果再执行一次是无法断点续传的,而是会生成原文件的.1文件,可以在原下载文件夹用-t 0 -c参数进行断点续传如:
$ wget  -t 0 -c https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda-repo-wsl-ubuntu-12-4-local_12.4.0-1_amd64.deb
  1. 缺了gcc
    Failed to verify gcc version. See log at /var/log/cuda-installer.log for details. 船新系统果然干净,啥也没有。安装一下就好了。
sudo apt update
sudo apt upgrade
sudo apt install gcc

3.3 docker 配置

根据 Configuring Docker的说明,需要用命令

sudo nvidia-ctk runtime configure --runtime=docker

修改配置/etc/docker/daemon.json

我们也可以直接在docker desktop的Settings ->Docker Engine里进行调整

  "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 ([email protected]) 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 ([email protected]) 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 ([email protected]) 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 ([email protected]) 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 ([email protected]) 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 ([email protected]) 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 ([email protected]) 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 ([email protected]) 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]
libpolkit-gobject-1-0/jammy,now 0.105-33 amd64 [installed,automatic]
libportmidi-dev/jammy,now 1:217-6 amd64 [installed]
libportmidi0/jammy,now 1:217-6 amd64 [installed,automatic]
libprocps8/jammy-updates,jammy-security,now 2:3.3.17-6ubuntu2.1 amd64 [installed]
libpsl5/jammy,now 0.21.0-1.2build2 amd64 [installed,automatic]
libpthread-stubs0-dev/jammy,now 0.4-1build2 amd64 [installed,automatic]
libpulse-dev/jammy-updates,now 1:15.99.1+dfsg1-1ubuntu2.1 amd64 [installed,automatic]
libpulse-mainloop-glib0/jammy-updates,now 1:15.99.1+dfsg1-1ubuntu2.1 amd64 [installed,automatic]
libpulse0/jammy-updates,now 1:15.99.1+dfsg1-1ubuntu2.1 amd64 [installed,automatic]
libpython3-dev/jammy-updates,jammy-security,now 3.10.6-1~22.04 amd64 [installed,automatic]
libpython3-stdlib/jammy-updates,jammy-security,now 3.10.6-1~22.04 amd64 [installed,automatic]
libpython3.10-dev/jammy-updates,jammy-security,now 3.10.12-1~22.04.3 amd64 [installed,automatic]
libpython3.10-minimal/jammy-updates,jammy-security,now 3.10.12-1~22.04.3 amd64 [installed,automatic]
libpython3.10-stdlib/jammy-updates,jammy-security,now 3.10.12-1~22.04.3 amd64 [installed,automatic]
libpython3.10/jammy-updates,jammy-security,now 3.10.12-1~22.04.3 amd64 [installed,automatic]
libpython3.11-dev/jammy-updates,now 3.11.0~rc1-1~22.04 amd64 [installed,automatic]
libpython3.11-minimal/jammy-updates,now 3.11.0~rc1-1~22.04 amd64 [installed,automatic]
libpython3.11-stdlib/jammy-updates,now 3.11.0~rc1-1~22.04 amd64 [installed,automatic]
libpython3.11/jammy-updates,now 3.11.0~rc1-1~22.04 amd64 [installed,automatic]
libquadmath0/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed,automatic]
librabbitmq4/jammy,now 0.10.0-1ubuntu2 amd64 [installed,automatic]
libreadline8/jammy,now 8.1.2-1 amd64 [installed,automatic]
librsvg2-2/jammy-updates,jammy-security,now 2.52.5+dfsg-3ubuntu0.2 amd64 [installed,automatic]
librsvg2-common/jammy-updates,jammy-security,now 2.52.5+dfsg-3ubuntu0.2 amd64 [installed,automatic]
librtmp1/jammy,now 2.4+20151223.gitfa8646d.1-2build4 amd64 [installed,automatic]
libsamplerate0/jammy,now 0.2.2-1build1 amd64 [installed,automatic]
libsasl2-2/jammy-updates,now 2.1.27+dfsg2-3ubuntu1.2 amd64 [installed,automatic]
libsasl2-modules-db/jammy-updates,now 2.1.27+dfsg2-3ubuntu1.2 amd64 [installed,automatic]
libsdl-image1.2-dev/jammy,now 1.2.12-13build1 amd64 [installed]
libsdl-image1.2/jammy,now 1.2.12-13build1 amd64 [installed,automatic]
libsdl-mixer1.2-dev/jammy,now 1.2.12-17build1 amd64 [installed]
libsdl-mixer1.2/jammy,now 1.2.12-17build1 amd64 [installed,automatic]
libsdl-ttf2.0-0/jammy,now 2.0.11-6 amd64 [installed,automatic]
libsdl-ttf2.0-dev/jammy,now 2.0.11-6 amd64 [installed]
libsdl1.2-dev/jammy,now 1.2.15+dfsg2-6 amd64 [installed]
libsdl1.2debian/jammy,now 1.2.15+dfsg2-6 amd64 [installed,automatic]
libsdl2-2.0-0/jammy-updates,now 2.0.20+dfsg-2ubuntu1.22.04.1 amd64 [installed,automatic]
libsdl2-dev/jammy-updates,now 2.0.20+dfsg-2ubuntu1.22.04.1 amd64 [installed]
libsdl2-image-2.0-0/jammy,now 2.0.5+dfsg1-3build1 amd64 [installed,automatic]
libsdl2-image-dev/jammy,now 2.0.5+dfsg1-3build1 amd64 [installed]
libsdl2-mixer-2.0-0/jammy,now 2.0.4+dfsg1-4build1 amd64 [installed,automatic]
libsdl2-mixer-dev/jammy,now 2.0.4+dfsg1-4build1 amd64 [installed]
libsdl2-ttf-2.0-0/jammy,now 2.0.18+dfsg-2 amd64 [installed,automatic]
libsdl2-ttf-dev/jammy,now 2.0.18+dfsg-2 amd64 [installed]
libseccomp2/jammy,now 2.5.3-2ubuntu2 amd64 [installed]
libselinux1-dev/jammy,now 3.3-1build2 amd64 [installed,automatic]
libselinux1/jammy,now 3.3-1build2 amd64 [installed]
libsemanage-common/jammy,now 3.3-1build2 all [installed]
libsemanage2/jammy,now 3.3-1build2 amd64 [installed]
libsensors-config/jammy,now 1:3.6.0-7ubuntu1 all [installed,automatic]
libsensors5/jammy,now 1:3.6.0-7ubuntu1 amd64 [installed,automatic]
libsepol-dev/jammy,now 3.3-1build1 amd64 [installed,automatic]
libsepol2/jammy,now 3.3-1build1 amd64 [installed]
libshine3/jammy,now 3.1.1-2 amd64 [installed,automatic]
libslang2-dev/jammy,now 2.3.2-5build4 amd64 [installed,automatic]
libslang2/jammy,now 2.3.2-5build4 amd64 [installed,automatic]
libsm-dev/jammy,now 2:1.2.3-1build2 amd64 [installed,automatic]
libsm6/jammy,now 2:1.2.3-1build2 amd64 [installed,automatic]
libsmartcols1/jammy,now 2.37.2-4ubuntu3 amd64 [installed]
libsmpeg-dev/jammy,now 0.4.5+cvs20030824-9 amd64 [installed]
libsmpeg0/jammy,now 0.4.5+cvs20030824-9 amd64 [installed,automatic]
libsnappy1v5/jammy,now 1.1.8-1build3 amd64 [installed,automatic]
libsndfile1/jammy-updates,jammy-security,now 1.0.31-2ubuntu0.1 amd64 [installed,automatic]
libsndio-dev/jammy,now 1.8.1-1.1 amd64 [installed,automatic]
libsndio7.0/jammy,now 1.8.1-1.1 amd64 [installed,automatic]
libsodium23/jammy,now 1.0.18-1build2 amd64 [installed,automatic]
libsoxr0/jammy,now 0.1.3-4build2 amd64 [installed,automatic]
libspeex1/jammy,now 1.2~rc1.2-1.1ubuntu3 amd64 [installed,automatic]
libsqlite3-0/jammy-updates,jammy-security,now 3.37.2-2ubuntu0.3 amd64 [installed,automatic]
libsrt1.4-gnutls/jammy,now 1.4.4-4 amd64 [installed,automatic]
libss2/jammy-updates,jammy-security,now 1.46.5-2ubuntu1.1 amd64 [installed]
libssh-4/jammy-updates,jammy-security,now 0.9.6-2ubuntu0.22.04.3 amd64 [installed,automatic]
libssh-gcrypt-4/jammy-updates,jammy-security,now 0.9.6-2ubuntu0.22.04.3 amd64 [installed,automatic]
libssl3/jammy-updates,jammy-security,now 3.0.2-0ubuntu1.15 amd64 [installed]
libstdc++-11-dev/jammy-updates,jammy-security,now 11.4.0-1ubuntu1~22.04 amd64 [installed,automatic]
libstdc++6/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed]
libstemmer0d/jammy,now 2.2.0-1build1 amd64 [installed,automatic]
libswresample-dev/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed,automatic]
libswresample3/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed,automatic]
libswscale-dev/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed]
libswscale5/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed,automatic]
libsystemd0/jammy-updates,now 249.11-0ubuntu3.12 amd64 [installed]
libtasn1-6/jammy,now 4.18.0-4build1 amd64 [installed]
libthai-data/jammy,now 0.1.29-1build1 all [installed,automatic]
libthai0/jammy,now 0.1.29-1build1 amd64 [installed,automatic]
libtheora0/jammy,now 1.1.1+dfsg.1-15ubuntu4 amd64 [installed,automatic]
libtiff-dev/jammy-updates,jammy-security,now 4.3.0-6ubuntu0.8 amd64 [installed,automatic]
libtiff5-dev/jammy-updates,jammy-security,now 4.3.0-6ubuntu0.8 amd64 [installed]
libtiff5/jammy-updates,jammy-security,now 4.3.0-6ubuntu0.8 amd64 [installed,automatic]
libtiffxx5/jammy-updates,jammy-security,now 4.3.0-6ubuntu0.8 amd64 [installed,automatic]
libtinfo6/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed]
libtirpc-common/jammy-updates,jammy-security,now 1.3.2-2ubuntu0.1 all [installed]
libtirpc-dev/jammy-updates,jammy-security,now 1.3.2-2ubuntu0.1 amd64 [installed,automatic]
libtirpc3/jammy-updates,jammy-security,now 1.3.2-2ubuntu0.1 amd64 [installed]
libtsan0/jammy-updates,jammy-security,now 11.4.0-1ubuntu1~22.04 amd64 [installed,automatic]
libtwolame0/jammy,now 0.4.0-2build2 amd64 [installed,automatic]
libubsan1/jammy-updates,jammy-security,now 12.3.0-1ubuntu1~22.04 amd64 [installed,automatic]
libudev-dev/jammy-updates,now 249.11-0ubuntu3.12 amd64 [installed,automatic]
libudev1/jammy-updates,now 249.11-0ubuntu3.12 amd64 [installed]
libudfread0/jammy,now 1.1.2-1 amd64 [installed,automatic]
libunistring2/jammy,now 1.0-1 amd64 [installed]
libunwind8/jammy-updates,now 1.3.2-2build2.1 amd64 [installed,automatic]
libuuid1/jammy,now 2.37.2-4ubuntu3 amd64 [installed]
libva-drm2/jammy,now 2.14.0-1 amd64 [installed,automatic]
libva-x11-2/jammy,now 2.14.0-1 amd64 [installed,automatic]
libva2/jammy,now 2.14.0-1 amd64 [installed,automatic]
libvdpau1/jammy,now 1.4-3build2 amd64 [installed,automatic]
libvorbis-dev/jammy,now 1.3.7-1build2 amd64 [installed,automatic]
libvorbis0a/jammy,now 1.3.7-1build2 amd64 [installed,automatic]
libvorbisenc2/jammy,now 1.3.7-1build2 amd64 [installed,automatic]
libvorbisfile3/jammy,now 1.3.7-1build2 amd64 [installed,automatic]
libvpx7/jammy-updates,jammy-security,now 1.11.0-2ubuntu2.2 amd64 [installed,automatic]
libwayland-bin/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed,automatic]
libwayland-client0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed,automatic]
libwayland-cursor0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed,automatic]
libwayland-dev/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed,automatic]
libwayland-egl1/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed,automatic]
libwayland-server0/jammy-updates,jammy-security,now 1.20.0-1ubuntu0.1 amd64 [installed,automatic]
libwebp-dev/jammy-updates,jammy-security,now 1.2.2-2ubuntu0.22.04.2 amd64 [installed,automatic]
libwebp7/jammy-updates,jammy-security,now 1.2.2-2ubuntu0.22.04.2 amd64 [installed,automatic]
libwebpdemux2/jammy-updates,jammy-security,now 1.2.2-2ubuntu0.22.04.2 amd64 [installed,automatic]
libwebpmux3/jammy-updates,jammy-security,now 1.2.2-2ubuntu0.22.04.2 amd64 [installed,automatic]
libwrap0/jammy,now 7.6.q-31build2 amd64 [installed,automatic]
libx11-6/jammy-updates,jammy-security,now 2:1.7.5-1ubuntu0.3 amd64 [installed]
libx11-data/jammy-updates,jammy-security,now 2:1.7.5-1ubuntu0.3 all [installed,automatic]
libx11-dev/jammy-updates,jammy-security,now 2:1.7.5-1ubuntu0.3 amd64 [installed]
libx11-xcb1/jammy-updates,jammy-security,now 2:1.7.5-1ubuntu0.3 amd64 [installed,automatic]
libx264-163/jammy,now 2:0.163.3060+git5db6aa6-2build1 amd64 [installed,automatic]
libx265-199/jammy,now 3.5-2 amd64 [installed,automatic]
libxau-dev/jammy,now 1:1.0.9-1build5 amd64 [installed,automatic]
libxau6/jammy,now 1:1.0.9-1build5 amd64 [installed,automatic]
libxaw7/jammy,now 2:1.0.14-1 amd64 [installed,automatic]
libxcb-dri2-0/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb-dri3-0/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb-glx0/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb-present0/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb-randr0/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb-render0/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb-shm0/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb-sync1/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb-xfixes0/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb1-dev/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcb1/jammy,now 1.14-3ubuntu3 amd64 [installed,automatic]
libxcomposite1/jammy,now 1:0.4.5-1build2 amd64 [installed]
libxcursor-dev/jammy,now 1:1.2.0-2build4 amd64 [installed,automatic]
libxcursor1/jammy,now 1:1.2.0-2build4 amd64 [installed]
libxdmcp-dev/jammy,now 1:1.1.3-0ubuntu5 amd64 [installed,automatic]
libxdmcp6/jammy,now 1:1.1.3-0ubuntu5 amd64 [installed,automatic]
libxext-dev/jammy,now 2:1.3.4-1build1 amd64 [installed,automatic]
libxext6/jammy,now 2:1.3.4-1build1 amd64 [installed,automatic]
libxfixes-dev/jammy,now 1:6.0.0-1 amd64 [installed,automatic]
libxfixes3/jammy,now 1:6.0.0-1 amd64 [installed,automatic]
libxfont2/jammy,now 1:2.0.5-1build1 amd64 [installed,automatic]
libxi-dev/jammy,now 2:1.8-1build1 amd64 [installed,automatic]
libxi6/jammy,now 2:1.8-1build1 amd64 [installed]
libxinerama-dev/jammy,now 2:1.1.4-3 amd64 [installed,automatic]
libxinerama1/jammy,now 2:1.1.4-3 amd64 [installed,automatic]
libxkbcommon-dev/jammy,now 1.4.0-1 amd64 [installed,automatic]
libxkbcommon0/jammy,now 1.4.0-1 amd64 [installed,automatic]
libxkbfile1/jammy,now 1:1.1.0-1build3 amd64 [installed,automatic]
libxml2/jammy-updates,jammy-security,now 2.9.13+dfsg-1ubuntu0.4 amd64 [installed,automatic]
libxmlb2/jammy,now 0.3.6-2build1 amd64 [installed,automatic]
libxmu6/jammy,now 2:1.1.3-3 amd64 [installed,automatic]
libxmuu1/jammy,now 2:1.1.3-3 amd64 [installed,automatic]
libxpm4/jammy-updates,jammy-security,now 1:3.5.12-1ubuntu0.22.04.2 amd64 [installed,automatic]
libxrandr-dev/jammy,now 2:1.5.2-1build1 amd64 [installed,automatic]
libxrandr2/jammy,now 2:1.5.2-1build1 amd64 [installed]
libxrender-dev/jammy,now 1:0.9.10-1build4 amd64 [installed,automatic]
libxrender1/jammy,now 1:0.9.10-1build4 amd64 [installed,automatic]
libxshmfence1/jammy,now 1.3-1build4 amd64 [installed,automatic]
libxss-dev/jammy,now 1:1.2.3-1build2 amd64 [installed,automatic]
libxss1/jammy,now 1:1.2.3-1build2 amd64 [installed]
libxt-dev/jammy,now 1:1.2.1-1 amd64 [installed,automatic]
libxt6/jammy,now 1:1.2.1-1 amd64 [installed,automatic]
libxtst6/jammy,now 2:1.2.3-1build4 amd64 [installed]
libxv-dev/jammy,now 2:1.0.11-1build2 amd64 [installed,automatic]
libxv1/jammy,now 2:1.0.11-1build2 amd64 [installed,automatic]
libxvidcore4/jammy,now 2:1.3.7-1 amd64 [installed,automatic]
libxxf86vm-dev/jammy,now 1:1.1.4-1build3 amd64 [installed,automatic]
libxxf86vm1/jammy,now 1:1.1.4-1build3 amd64 [installed,automatic]
libxxhash0/jammy,now 0.8.1-1 amd64 [installed]
libyaml-0-2/jammy,now 0.2.2-1build2 amd64 [installed,automatic]
libzmq5/jammy,now 4.3.4-2 amd64 [installed,automatic]
libzstd1/jammy,now 1.4.8+dfsg-3build1 amd64 [installed]
libzvbi-common/jammy,now 0.2.35-19 all [installed,automatic]
libzvbi0/jammy,now 0.2.35-19 amd64 [installed,automatic]
linux-libc-dev/jammy-updates,jammy-security,now 5.15.0-100.110 amd64 [installed,automatic]
login/jammy-updates,jammy-security,now 1:4.8.1-2ubuntu2.2 amd64 [installed]
logsave/jammy-updates,jammy-security,now 1.46.5-2ubuntu1.1 amd64 [installed]
lsb-base/jammy,now 11.1.0ubuntu4 all [installed]
lsb-release/jammy,now 11.1.0ubuntu4 all [installed,automatic]
lto-disabled-list/jammy,now 24 all [installed,automatic]
make/jammy,now 4.3-4.1build1 amd64 [installed,automatic]
mawk/jammy,now 1.3.4.20200120-3 amd64 [installed]
media-types/jammy,now 7.0.0 all [installed,automatic]
mesa-va-drivers/jammy-updates,now 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic]
mesa-vdpau-drivers/jammy-updates,now 23.2.1-1ubuntu3.1~22.04.2 amd64 [installed,automatic]
mount/jammy,now 2.37.2-4ubuntu3 amd64 [installed]
ncurses-base/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 all [installed]
ncurses-bin/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 amd64 [installed]
ncurses-term/jammy-updates,jammy-security,now 6.3-2ubuntu0.1 all [installed,automatic]
ocl-icd-libopencl1/jammy,now 2.2.14-3 amd64 [installed,automatic]
openssh-client/jammy-updates,jammy-security,now 1:8.9p1-3ubuntu0.6 amd64 [installed,automatic]
openssh-server/jammy-updates,jammy-security,now 1:8.9p1-3ubuntu0.6 amd64 [installed,automatic]
openssh-sftp-server/jammy-updates,jammy-security,now 1:8.9p1-3ubuntu0.6 amd64 [installed,automatic]
openssl/jammy-updates,jammy-security,now 3.0.2-0ubuntu1.15 amd64 [installed,automatic]
packagekit/jammy,now 1.2.5-2ubuntu2 amd64 [installed,automatic]
passwd/jammy-updates,jammy-security,now 1:4.8.1-2ubuntu2.2 amd64 [installed]
patch/jammy,now 2.7.6-7build2 amd64 [installed,automatic]
pci.ids/jammy,now 0.0~2022.01.22-1 all [installed,automatic]
pciutils/jammy,now 1:3.7.0-6 amd64 [installed]
perl-base/jammy-updates,jammy-security,now 5.34.0-3ubuntu1.3 amd64 [installed]
perl-modules-5.34/jammy-updates,jammy-security,now 5.34.0-3ubuntu1.3 all [installed,automatic]
perl/jammy-updates,jammy-security,now 5.34.0-3ubuntu1.3 amd64 [installed,automatic]
pinentry-curses/jammy,now 1.1.1-1build2 amd64 [installed,automatic]
pkexec/jammy,now 0.105-33 amd64 [installed,automatic]
pkg-config/jammy,now 0.29.2-1ubuntu3 amd64 [installed]
policykit-1/jammy,now 0.105-33 amd64 [installed,automatic]
polkitd/jammy,now 0.105-33 amd64 [installed,automatic]
procps/jammy-updates,jammy-security,now 2:3.3.17-6ubuntu2.1 amd64 [installed]
publicsuffix/jammy,now 20211207.1025-1 all [installed,automatic]
python-apt-common/jammy-updates,now 2.4.0ubuntu3 all [installed,automatic]
python3-apt/jammy-updates,now 2.4.0ubuntu3 amd64 [installed,automatic]
python3-blinker/jammy,now 1.4+dfsg1-0.4 all [installed,automatic]
python3-cffi-backend/jammy,now 1.15.0-1build2 amd64 [installed,automatic]
python3-cryptography/jammy-updates,jammy-security,now 3.4.8-1ubuntu2.2 amd64 [installed,automatic]
python3-dbus/jammy,now 1.2.18-3build1 amd64 [installed,automatic]
python3-dev/jammy-updates,jammy-security,now 3.10.6-1~22.04 amd64 [installed]
python3-distro/jammy,now 1.7.0-1 all [installed,automatic]
python3-distutils/jammy-updates,jammy-security,now 3.10.8-1~22.04 all [installed]
python3-gi/jammy-updates,now 3.42.1-0ubuntu1 amd64 [installed,automatic]
python3-httplib2/jammy,now 0.20.2-2 all [installed,automatic]
python3-importlib-metadata/jammy,now 4.6.4-1 all [installed,automatic]
python3-jeepney/jammy,now 0.7.1-3 all [installed,automatic]
python3-jwt/jammy-updates,jammy-security,now 2.3.0-1ubuntu0.2 all [installed,automatic]
python3-keyring/jammy,now 23.5.0-1 all [installed,automatic]
python3-launchpadlib/jammy,now 1.10.16-1 all [installed,automatic]
python3-lazr.restfulclient/jammy,now 0.14.4-1 all [installed,automatic]
python3-lazr.uri/jammy,now 1.0.6-2 all [installed,automatic]
python3-lib2to3/jammy-updates,jammy-security,now 3.10.8-1~22.04 all [installed,automatic]
python3-minimal/jammy-updates,jammy-security,now 3.10.6-1~22.04 amd64 [installed,automatic]
python3-more-itertools/jammy,now 8.10.0-2 all [installed,automatic]
python3-numpy/jammy-updates,jammy-security,now 1:1.21.5-1ubuntu22.04.1 amd64 [installed]
python3-oauthlib/jammy-updates,jammy-security,now 3.2.0-1ubuntu0.1 all [installed,automatic]
python3-opengl/jammy,now 3.1.5+dfsg-1 all [installed]
python3-pip-whl/jammy-updates,jammy-security,now 22.0.2+dfsg-1ubuntu0.4 all [installed,automatic]
python3-pkg-resources/jammy-updates,jammy-security,now 59.6.0-1.2ubuntu0.22.04.1 all [installed,automatic]
python3-pyparsing/jammy,now 2.4.7-1 all [installed,automatic]
python3-secretstorage/jammy,now 3.3.1-1 all [installed,automatic]
python3-setuptools-whl/jammy-updates,jammy-security,now 59.6.0-1.2ubuntu0.22.04.1 all [installed,automatic]
python3-setuptools/jammy-updates,jammy-security,now 59.6.0-1.2ubuntu0.22.04.1 all [installed]
python3-six/jammy,now 1.16.0-3ubuntu1 all [installed,automatic]
python3-software-properties/jammy-updates,now 0.99.22.9 all [installed,automatic]
python3-wadllib/jammy,now 1.3.6-1 all [installed,automatic]
python3-zipp/jammy,now 1.0.0-3 all [installed,automatic]
python3.10-dev/jammy-updates,jammy-security,now 3.10.12-1~22.04.3 amd64 [installed,automatic]
python3.10-minimal/jammy-updates,jammy-security,now 3.10.12-1~22.04.3 amd64 [installed,automatic]
python3.10/jammy-updates,jammy-security,now 3.10.12-1~22.04.3 amd64 [installed,automatic]
python3.11-dev/jammy-updates,now 3.11.0~rc1-1~22.04 amd64 [installed]
python3.11-minimal/jammy-updates,now 3.11.0~rc1-1~22.04 amd64 [installed,automatic]
python3.11-venv/jammy-updates,now 3.11.0~rc1-1~22.04 amd64 [installed]
python3.11/jammy-updates,now 3.11.0~rc1-1~22.04 amd64 [installed]
python3/jammy-updates,jammy-security,now 3.10.6-1~22.04 amd64 [installed,automatic]
readline-common/jammy,now 8.1.2-1 all [installed,automatic]
rpcsvc-proto/jammy,now 1.4.2-0ubuntu6 amd64 [installed,automatic]
sed/jammy,now 4.8-1ubuntu2 amd64 [installed]
sensible-utils/jammy,now 0.0.17 all [installed]
shared-mime-info/jammy,now 2.1-2 amd64 [installed,automatic]
software-properties-common/jammy-updates,now 0.99.22.9 all [installed]
ssh-import-id/jammy,now 5.11-0ubuntu1 all [installed,automatic]
ssh/jammy-updates,jammy-security,now 1:8.9p1-3ubuntu0.6 all [installed]
swig4.0/jammy,now 4.0.2-1ubuntu1 amd64 [installed,automatic]
swig/jammy,now 4.0.2-1ubuntu1 all [installed]
systemd-sysv/jammy-updates,now 249.11-0ubuntu3.12 amd64 [installed,automatic]
systemd/jammy-updates,now 249.11-0ubuntu3.12 amd64 [installed,automatic]
sysvinit-utils/jammy,now 3.01-1ubuntu1 amd64 [installed]
tar/jammy-updates,jammy-security,now 1.34+dfsg-1ubuntu0.1.22.04.2 amd64 [installed]
timgm6mb-soundfont/jammy,now 1.3-5 all [installed]
ubuntu-keyring/jammy,now 2021.03.26 all [installed]
ucf/jammy,now 3.0043 all [installed,automatic]
unzip/jammy-updates,now 6.0-26ubuntu3.2 amd64 [installed]
usrmerge/jammy,now 25ubuntu2 all [installed]
util-linux/jammy,now 2.37.2-4ubuntu3 amd64 [installed]
uuid-dev/jammy,now 2.37.2-4ubuntu3 amd64 [installed,automatic]
va-driver-all/jammy,now 2.14.0-1 amd64 [installed,automatic]
vdpau-driver-all/jammy,now 1.4-3build2 amd64 [installed,automatic]
wget/jammy,now 1.21.2-2ubuntu1 amd64 [installed,automatic]
x11-common/jammy,now 1:7.7+23ubuntu2 all [installed,automatic]
x11-xkb-utils/jammy,now 7.7+5build4 amd64 [installed,automatic]
x11proto-dev/jammy,now 2021.5-1 all [installed,automatic]
xauth/jammy,now 1:1.1-1build2 amd64 [installed,automatic]
xfonts-100dpi/jammy,now 1:1.0.4+nmu1.1 all [installed]
xfonts-75dpi/jammy,now 1:1.0.4+nmu1.1 all [installed]
xfonts-base/jammy,now 1:1.0.5 all [installed]
xfonts-cyrillic/jammy,now 1:1.0.5 all [installed]
xfonts-encodings/jammy,now 1:1.0.5-0ubuntu2 all [installed,automatic]
xfonts-utils/jammy,now 1:7.7+6build2 amd64 [installed,automatic]
xkb-data/jammy,now 2.33-1 all [installed,automatic]
xorg-sgml-doctools/jammy,now 1:1.11-1.1 all [installed,automatic]
xserver-common/jammy-updates,jammy-security,now 2:21.1.4-2ubuntu1.7~22.04.8 all [installed,automatic]
xtrans-dev/jammy,now 1.4.0-1 all [installed,automatic]
xvfb/jammy-updates,jammy-security,now 2:21.1.4-2ubuntu1.7~22.04.8 amd64 [installed]
xz-utils/jammy,now 5.2.5-2ubuntu1 amd64 [installed,automatic]
zlib1g-dev/jammy-updates,jammy-security,now 1:1.2.11.dfsg-2ubuntu9.2 amd64 [installed,automatic]
zlib1g/jammy-updates,jammy-security,now 1:1.2.11.dfsg-2ubuntu9.2 amd64 [installed]
root@bbb293112c81:/tf#

A3. 吴恩达机器学习环境本地化构建的Github仓库

吴恩达机器学习环境本地化构建的Github仓库


  1. TensorFlow Tested build configurations /GPU > Note: GPU support on native-Windows is only available for 2.10 or earlier versions, starting in TF 2.11, CUDA build is not supported for Windows. For using TensorFlow GPU on Windows, you will need to build/install TensorFlow in WSL2 or use tensorflow-cpu with TensorFlow-DirectML-Plugin ↩︎

  2. Release 2.11.1 > Note: TensorFlow 2.10 was the last TensorFlow release that supported GPU on native-Windows. Starting with TensorFlow 2.11, you will need to install TensorFlow in WSL2, or install tensorflow-cpu and, optionally, try the TensorFlow-DirectML-Plugin. ↩︎

  3. WSL Best practices ↩︎

  4. https://docs.docker.com/desktop/wsl/ ↩︎

  5. 根据Running a Sample Workload with Docker --runtime=nvidia --gpus可以都带上 ↩︎

  6. Download a TensorFlow Docker image ↩︎

  7. NUMA problem from Nvidia ↩︎

;