当前位置: 代码网 > 科技>人工智能>机器学习 > 吴恩达机器学习环境本地化构建(wsl+docker+tensorflow+cuda)_wsl ubuntu tensorflow + cuda docker安装

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

2024年07月28日 机器学习 我要评论
注意: tensorflow.google.cn是tensorflow.org的完整镜像,可以解决官方访问不了的问题,但是务必要选择English,中文的内容落后了好几个版本。写了一个Dockerfile,用这个Dockerfile可以build出可用的docker image,这样就可以跳过下面的4,5两步直接启动可用的镜像了。当然,我独立安装了cuda toolkit和cuDNN模块,看起来是包重复的问题。,注意上面log的最后token=的字样,将它copy进去就可以使用了。

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)
4.2 运行镜像

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

$ docker run --runtime=nvidia --gpus all -it -p 10000:8888 --name tfgpu -v /mnt/d/docker/jovyan:/data tensorflow/tensorflow:latest-gpu-jupyter
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.279 serverapp] package notebook took 0.0000s to import
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.311 serverapp] package jupyter_lsp took 0.0311s to import
2024-03-14 16:18:48 [w 2024-03-14 08:18:48.311 serverapp] a `\_jupyter\_server\_extension\_points` function was not found in jupyter_lsp. instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. this function name will be deprecated in future releases of jupyter server.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.321 serverapp] package jupyter_server_terminals took 0.0093s to import
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.321 serverapp] package jupyterlab took 0.0000s to import
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.352 serverapp] package notebook_shim took 0.0000s to import
2024-03-14 16:18:48 [w 2024-03-14 08:18:48.352 serverapp] a `\_jupyter\_server\_extension\_points` function was not found in notebook_shim. instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. this function name will be deprecated in future releases of jupyter server.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.353 serverapp] jupyter_lsp | extension was successfully linked.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.358 serverapp] jupyter_server_terminals | extension was successfully linked.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.361 serverapp] jupyterlab | extension was successfully linked.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.366 serverapp] notebook | extension was successfully linked.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.546 serverapp] notebook_shim | extension was successfully linked.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.570 serverapp] notebook_shim | extension was successfully loaded.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.571 serverapp] jupyter_lsp | extension was successfully loaded.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.572 serverapp] jupyter_server_terminals | extension was successfully loaded.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.580 labapp] jupyterlab extension loaded from /usr/local/lib/python3.11/dist-packages/jupyterlab
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.580 labapp] jupyterlab application directory is /usr/local/share/jupyter/lab
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.580 labapp] extension manager is 'pypi'.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.582 serverapp] jupyterlab | extension was successfully loaded.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.586 serverapp] notebook | extension was successfully loaded.
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.587 serverapp] serving notebooks from local directory: /tf
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.587 serverapp] jupyter server 2.12.0 is running at:
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.587 serverapp] http://bbb293112c81:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.587 serverapp]     http://127.0.0.1:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.587 serverapp] use control-c to stop this server and shut down all kernels (twice to skip confirmation).
2024-03-14 16:18:48 [c 2024-03-14 08:18:48.589 serverapp] 
2024-03-14 16:18:48     
2024-03-14 16:18:48     to access the server, open this file in a browser:
2024-03-14 16:18:48         file:///root/.local/share/jupyter/runtime/jpserver-1-open.html
2024-03-14 16:18:48     or copy and paste one of these urls:
2024-03-14 16:18:48         http://bbb293112c81:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:48         http://127.0.0.1:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:48 [i 2024-03-14 08:18:48.602 serverapp] skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
2024-03-14 16:18:56 ^c[i 2024-03-14 08:18:56.542 serverapp] interrupted
2024-03-14 16:18:56 [i 2024-03-14 08:18:56.542 serverapp] serving notebooks from local directory: /tf
2024-03-14 16:18:56     0 active kernels
2024-03-14 16:18:56     jupyter server 2.12.0 is running at:
2024-03-14 16:18:56     http://bbb293112c81:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:56         http://127.0.0.1:8888/tree?token=4b8b48c880ddf2c80bb0307d693fda374d0f27e9c2213b44
2024-03-14 16:18:59 shutdown this jupyter server (y/[n])? n
2024-03-14 16:18:59 [i 2024-03-14 08:18:59.618 serverapp] resuming operation...
2024-03-14 16:19:10 [i 2024-03-14 08:19:10.647 jupyternotebookapp] 302 get /tree/data/07.c3_w3_a1_assignment%20work (@172.17.0.1) 0.99ms
2024-03-14 16:19:15 [i 2024-03-14 08:19:15.030 serverapp] user b8a5075f37d24a42a65573d779a2b7e2 logged in.
2024-03-14 16:19:15 [i 2024-03-14 08:19:15.030 serverapp] 302 post /login?next=%2ftree%2fdata%2f07.c3_w3_a1_assignment%2520work (b8a5075f37d24a42a65573d779a2b7e2@172.17.0.1) 50.95ms
2024-03-14 16:19:15 0.00s - debugger warning: it seems that frozen modules are being used, which may
2024-03-14 16:19:15 0.00s - make the debugger miss breakpoints. please pass -xfrozen\_modules=off
2024-03-14 16:19:15 0.00s - to python to disable frozen modules.
2024-03-14 16:19:15 0.00s - note: debugging will proceed. set pydevd\_disable\_file\_validation=1 to disable this validation.
2024-03-14 16:19:28 [i 2024-03-14 08:19:28.542 serverapp] kernel started: b1ac7995-84c6-49bb-b371-2f1903c7b1c3
2024-03-14 16:19:28 0.00s - debugger warning: it seems that frozen modules are being used, which may
2024-03-14 16:19:28 0.00s - make the debugger miss breakpoints. please pass -xfrozen\_modules=off
2024-03-14 16:19:28 0.00s - to python to disable frozen modules.
2024-03-14 16:19:28 0.00s - note: debugging will proceed. set pydevd\_disable\_file\_validation=1 to disable this validation.
2024-03-14 16:19:29 [i 2024-03-14 08:19:29.149 serverapp] connecting to kernel b1ac7995-84c6-49bb-b371-2f1903c7b1c3.
2024-03-14 16:20:17 2024-03-14 08:20:17.127559: i tensorflow/core/util/port.cc:113] onednn custom operations are on. you may see slightly different numerical results due to floating-point round-off errors from different computation orders. to turn them off, set the environment variable `tf\_enable\_onednn\_opts=0`.
2024-03-14 16:20:17 2024-03-14 08:20:17.172965: e external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] unable to register cudnn factory: attempting to register factory for plugin cudnn when one has already been registered
2024-03-14 16:20:17 2024-03-14 08:20:17.173002: e external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] unable to register cufft factory: attempting to register factory for plugin cufft when one has already been registered
2024-03-14 16:20:17 2024-03-14 08:20:17.176275: e external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] unable to register cublas factory: attempting to register factory for plugin cublas when one has already been registered
2024-03-14 16:20:17 2024-03-14 08:20:17.183555: i tensorflow/core/platform/cpu_feature_guard.cc:182] this tensorflow binary is optimized to use available cpu instructions in performance-critical operations.
2024-03-14 16:20:17 to enable the following instructions: avx2 avx512f avx512_vnni fma, in other operations, rebuild tensorflow with the appropriate compiler flags.
2024-03-14 16:20:18 2024-03-14 08:20:18.132668: w tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] tf-trt warning: could not find tensorrt
2024-03-14 16:20:20 2024-03-14 08:20:19.976429: i external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:20 your kernel may have been built without numa support.
2024-03-14 16:20:20 2024-03-14 08:20:20.366150: i external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:20 your kernel may have been built without numa support.
2024-03-14 16:20:20 2024-03-14 08:20:20.366201: i external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:20 your kernel may have been built without numa support.
2024-03-14 16:20:21 2024-03-14 08:20:21.009327: i external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 your kernel may have been built without numa support.
2024-03-14 16:20:21 2024-03-14 08:20:21.009400: i external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 your kernel may have been built without numa support.
2024-03-14 16:20:21 2024-03-14 08:20:21.009417: i external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 your kernel may have been built without numa support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228485: i external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 your kernel may have been built without numa support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228547: i external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 your kernel may have been built without numa support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228556: i tensorflow/core/common_runtime/gpu/gpu_device.cc:2022] could not identify numa node of platform gpu id 0, defaulting to 0.  your kernel may not have been built with numa support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228586: i external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:887] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
2024-03-14 16:20:21 your kernel may have been built without numa support.
2024-03-14 16:20:21 2024-03-14 08:20:21.228609: i tensorflow/core/common_runtime/gpu/gpu_device.cc:1929] created device /job:localhost/replica:0/task:0/device:gpu:0 with 1753 mb memory:  -> device: 0, name: nvidia rtx a2000 laptop gpu, pci bus id: 0000:01:00.0, compute capability: 8.6
2024-03-14 16:20:22 2024-03-14 08:20:22.988820: i external/local_xla/xla/service/service.cc:168] xla service 0x7f1fd59f3190 initialized for platform cuda (this does not guarantee that xla will be used). devices:
2024-03-14 16:20:22 2024-03-14 08:20:22.988862: i external/local_xla/xla/service/service.cc:176]   streamexecutor device (0): nvidia rtx a2000 laptop gpu, compute capability 8.6
2024-03-14 16:20:22 2024-03-14 08:20:22.997062: i tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc:269] disabling mlir crash reproducer, set env var `mlir\_crash\_reproducer\_directory` to enable.
2024-03-14 16:20:23 2024-03-14 08:20:23.029062: i external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:454] loaded cudnn version 8904
2024-03-14 16:20:23 warning: all log messages before absl::initializelog() is called are written to stderr
2024-03-14 16:20:23 i0000 00:00:1710404423.113098     148 device_compiler.h:186] compiled cluster using xla!  this line is logged at most once for the lifetime of the process.
2024-03-14 16:21:28 [i 2024-03-14 08:21:28.096 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:23:28 [i 2024-03-14 08:23:28.149 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:25:28 [i 2024-03-14 08:25:28.193 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:27:28 [i 2024-03-14 08:27:28.232 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:29:28 [i 2024-03-14 08:29:28.270 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:31:28 [i 2024-03-14 08:31:28.322 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:33:28 [i 2024-03-14 08:33:28.567 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:35:28 [i 2024-03-14 08:35:28.603 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:37:28 [i 2024-03-14 08:37:28.644 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:39:28 [i 2024-03-14 08:39:28.706 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:41:28 [i 2024-03-14 08:41:28.754 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:43:28 [i 2024-03-14 08:43:28.808 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:45:27 [swscaler @ 0x6f6b540] warning: data is not aligned! this can lead to a speed loss
2024-03-14 16:45:28 [i 2024-03-14 08:45:28.851 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:47:28 [i 2024-03-14 08:47:28.912 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 16:55:24 [i 2024-03-14 08:55:24.246 serverapp] starting buffering for b1ac7995-84c6-49bb-b371-2f1903c7b1c3:96ca9b8c-adbe-4be8-80a2-2e5a84a1b06c
2024-03-14 17:03:23 [i 2024-03-14 09:03:23.789 labapp] 302 get /lab (@172.17.0.1) 0.71ms
2024-03-14 17:03:51 [i 2024-03-14 09:03:51.072 serverapp] user 232df10b534c4fea96893811c8da4181 logged in.
2024-03-14 17:03:51 [i 2024-03-14 09:03:51.072 serverapp] 302 post /login?next=%2flab (232df10b534c4fea96893811c8da4181@172.17.0.1) 1.09ms
2024-03-14 17:03:53 [w 2024-03-14 09:03:53.182 labapp] could not determine jupyterlab build status without nodejs
2024-03-14 17:03:53 [i 2024-03-14 09:03:53.263 serverapp] connecting to kernel b1ac7995-84c6-49bb-b371-2f1903c7b1c3.
2024-03-14 17:03:53 [i 2024-03-14 09:03:53.445 serverapp] starting buffering for b1ac7995-84c6-49bb-b371-2f1903c7b1c3:85a729d9-b805-4c8c-8cc4-bd3e4e052a0c
2024-03-14 17:04:02 [w 2024-03-14 09:04:02.985 serverapp] 403 get /static/lab/481e39042508ae313a60.woff (172.17.0.1): 481e39042508ae313a60.woff is not in root static directory
2024-03-14 17:04:03 [w 2024-03-14 09:04:02.995 serverapp] 403 get /static/lab/481e39042508ae313a60.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 13.44ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [i 2024-03-14 09:04:03.001 serverapp] connecting to kernel b1ac7995-84c6-49bb-b371-2f1903c7b1c3.
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.101 serverapp] 403 get /static/lab/1cb1c39ea642f26a4dfe.woff (172.17.0.1): 1cb1c39ea642f26a4dfe.woff is not in root static directory
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.103 serverapp] 403 get /static/lab/1cb1c39ea642f26a4dfe.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 2.14ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.103 serverapp] 403 get /static/lab/a009bea404f7a500ded4.woff (172.17.0.1): a009bea404f7a500ded4.woff is not in root static directory
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.105 serverapp] 403 get /static/lab/a009bea404f7a500ded4.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 3.75ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.327 serverapp] 403 get /static/lab/c49810b53ecc0d87d802.woff (172.17.0.1): c49810b53ecc0d87d802.woff is not in root static directory
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.330 serverapp] 403 get /static/lab/c49810b53ecc0d87d802.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 4.02ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.370 serverapp] 403 get /static/lab/3bc6ecaae7ecf6f8d7f8.woff (172.17.0.1): 3bc6ecaae7ecf6f8d7f8.woff is not in root static directory
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.372 serverapp] 403 get /static/lab/3bc6ecaae7ecf6f8d7f8.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 5.23ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.603 serverapp] 403 get /static/lab/5cda41563a095bd70c78.woff (172.17.0.1): 5cda41563a095bd70c78.woff is not in root static directory
2024-03-14 17:04:03 [w 2024-03-14 09:04:03.604 serverapp] 403 get /static/lab/5cda41563a095bd70c78.woff (232df10b534c4fea96893811c8da4181@172.17.0.1) 1.76ms referer=http://127.0.0.1:10005/lab
2024-03-14 17:06:02 [i 2024-03-14 09:06:02.688 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 17:08:02 [i 2024-03-14 09:08:02.745 serverapp] saving file at /data/07.c3_w3_a1_assignment work/c3_w3_a1_assignment.ipynb
2024-03-14 17:09:54 [i 2024-03-14 09:09:54.848 serverapp] kernel interrupted: b1ac7995-84c6-49bb-b371-2f1903c7b1c3
2024-03-14 17:10:09 [c 2024-03-14 09:10:09.364 serverapp] received signal 15, stopping
2024-03-14 17:10:09 [i 2024-03-14 09:10:09.365 serverapp] shutting down 5 extensions
2024-03-14 17:10:09 [i 2024-03-14 09:10:09.365 serverapp] shutting down 1 kernel
2024-03-14 17:10:09 [i 2024-03-14 09:10:09.365 serverapp] kernel shutdown: b1ac7995-84c6-49bb-b371-2f1903c7b1c3
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.553 serverapp] package notebook took 0.0000s to import
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.572 serverapp] package jupyter_lsp took 0.0183s to import
2024-03-15 11:15:04 [w 2024-03-15 03:15:04.572 serverapp] a `\_jupyter\_server\_extension\_points` function was not found in jupyter_lsp. instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. this function name will be deprecated in future releases of jupyter server.
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.582 serverapp] package jupyter_server_terminals took 0.0097s to import
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.582 serverapp] package jupyterlab took 0.0000s to import
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.672 serverapp] package notebook_shim took 0.0000s to import
2024-03-15 11:15:04 [w 2024-03-15 03:15:04.672 serverapp] a `\_jupyter\_server\_extension\_points` function was not found in notebook_shim. instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. this function name will be deprecated in future releases of jupyter server.
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.673 serverapp] jupyter_lsp | extension was successfully linked.
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.676 serverapp] jupyter_server_terminals | extension was successfully linked.
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.679 serverapp] jupyterlab | extension was successfully linked.
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.682 serverapp] notebook | extension was successfully linked.
2024-03-15 11:15:04 [i 2024-03-15 03:15:04.997 serverapp] notebook_shim | extension was successfully linked.
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.016 serverapp] notebook_shim | extension was successfully loaded.
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.017 serverapp] jupyter_lsp | extension was successfully loaded.
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.018 serverapp] jupyter_server_terminals | extension was successfully loaded.
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.023 labapp] jupyterlab extension loaded from /usr/local/lib/python3.11/dist-packages/jupyterlab
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.023 labapp] jupyterlab application directory is /usr/local/share/jupyter/lab
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.024 labapp] extension manager is 'pypi'.
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.026 serverapp] jupyterlab | extension was successfully loaded.
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.027 serverapp] notebook | extension was successfully loaded.
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.028 serverapp] serving notebooks from local directory: /tf
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.028 serverapp] jupyter server 2.12.0 is running at:
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.028 serverapp] http://bbb293112c81:8888/tree?token=eaf9f279cde54f16ad174bc938321ba9eb9bb7ef56b87666
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.028 serverapp]     http://127.0.0.1:8888/tree?token=eaf9f279cde54f16ad174bc938321ba9eb9bb7ef56b87666
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.028 serverapp] use control-c to stop this server and shut down all kernels (twice to skip confirmation).
2024-03-15 11:15:05 [c 2024-03-15 03:15:05.030 serverapp] 
2024-03-15 11:15:05     
2024-03-15 11:15:05     to access the server, open this file in a browser:
2024-03-15 11:15:05         file:///root/.local/share/jupyter/runtime/jpserver-1-open.html
2024-03-15 11:15:05     or copy and paste one of these urls:
2024-03-15 11:15:05         http://bbb293112c81:8888/tree?token=eaf9f279cde54f16ad174bc938321ba9eb9bb7ef56b87666
2024-03-15 11:15:05         http://127.0.0.1:8888/tree?token=eaf9f279cde54f16ad174bc938321ba9eb9bb7ef56b87666
2024-03-15 11:15:05 [i 2024-03-15 03:15:05.040 serverapp] skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
2024-03-15 18:00:57 [c 2024-03-15 10:00:57.650 serverapp] received signal 15, stopping
2024-03-15 18:00:57 [i 2024-03-15 10:00:57.652 serverapp] shutting down 5 extensions
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.279 serverapp] package notebook took 0.0000s to import
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.302 serverapp] package jupyter_lsp took 0.0229s to import
2024-03-18 15:30:56 [w 2024-03-18 07:30:56.302 serverapp] a `\_jupyter\_server\_extension\_points` function was not found in jupyter_lsp. instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. this function name will be deprecated in future releases of jupyter server.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.314 serverapp] package jupyter_server_terminals took 0.0119s to import
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.315 serverapp] package jupyterlab took 0.0000s to import
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.425 serverapp] package notebook_shim took 0.0000s to import
2024-03-18 15:30:56 [w 2024-03-18 07:30:56.425 serverapp] a `\_jupyter\_server\_extension\_points` function was not found in notebook_shim. instead, a `\_jupyter\_server\_extension\_paths` function was found and will be used for now. this function name will be deprecated in future releases of jupyter server.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.426 serverapp] jupyter_lsp | extension was successfully linked.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.428 serverapp] jupyter_server_terminals | extension was successfully linked.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.431 serverapp] jupyterlab | extension was successfully linked.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.434 serverapp] notebook | extension was successfully linked.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.776 serverapp] notebook_shim | extension was successfully linked.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.798 serverapp] notebook_shim | extension was successfully loaded.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.800 serverapp] jupyter_lsp | extension was successfully loaded.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.801 serverapp] jupyter_server_terminals | extension was successfully loaded.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.808 labapp] jupyterlab extension loaded from /usr/local/lib/python3.11/dist-packages/jupyterlab
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.808 labapp] jupyterlab application directory is /usr/local/share/jupyter/lab
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.809 labapp] extension manager is 'pypi'.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.811 serverapp] jupyterlab | extension was successfully loaded.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.812 serverapp] notebook | extension was successfully loaded.
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.813 serverapp] serving notebooks from local directory: /tf
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.813 serverapp] jupyter server 2.12.0 is running at:
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.813 serverapp] http://bbb293112c81:8888/tree?token=76bca2a3f256ee976ca8194aa95a845d625737dd501450aa
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.813 serverapp]     http://127.0.0.1:8888/tree?token=76bca2a3f256ee976ca8194aa95a845d625737dd501450aa
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.813 serverapp] use control-c to stop this server and shut down all kernels (twice to skip confirmation).
2024-03-18 15:30:56 [c 2024-03-18 07:30:56.815 serverapp] 
2024-03-18 15:30:56     
2024-03-18 15:30:56     to access the server, open this file in a browser:
2024-03-18 15:30:56         file:///root/.local/share/jupyter/runtime/jpserver-1-open.html
2024-03-18 15:30:56     or copy and paste one of these urls:
2024-03-18 15:30:56         http://bbb293112c81:8888/tree?token=76bca2a3f256ee976ca8194aa95a845d625737dd501450aa
2024-03-18 15:30:56         http://127.0.0.1:8888/tree?token=76bca2a3f256ee976ca8194aa95a845d625737dd501450aa
2024-03-18 15:30:56 [i 2024-03-18 07:30:56.828 serverapp] skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server


5 运行jupyter

5.1 打开jupyter

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

5.2 测试tensorflow

在jupyter里面new一个notebook,输入

import tensorflow as tf

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

from tensorflow.python.platform import build_info as tf_build_info

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

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

[physicaldevice(name='/physical\_device:gpu:0', device_type='gpu')]
true
cudnn_version 8
cuda_version 12.2

6. 安装tensorflow+cuda

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

$ docker exec -it tfgpu bash

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

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

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

7. 问题

7. 1 numa support problem

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

problem like this

2022-06-15 12:26:38.641299: i tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
your kernel may have been built without numa support.
2022-06-15 12:26:38.663494: i tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
your kernel may have been built without numa support.
2022-06-15 12:26:38.663891: i tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
your kernel may have been built without numa support.
2022-06-15 12:26:38.664215: i tensorflow/core/platform/cpu_feature_guard.cc:193] this tensorflow binary is optimized with oneapi deep neural network library (onednn) to use the following cpu instructions in performance-critical operations:  avx2 fma
to enable them in other operations, rebuild tensorflow with the appropriate compiler flags.
2022-06-15 12:26:38.665784: i tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
your kernel may have been built without numa support.
2022-06-15 12:26:38.666145: i tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
your kernel may have been built without numa support.
2022-06-15 12:26:38.666447: i tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
your kernel may have been built without numa support.
2022-06-15 12:26:39.086758: i tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
your kernel may have been built without numa support.
2022-06-15 12:26:39.087183: i tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
your kernel may have been built without numa support.
2022-06-15 12:26:39.087209: i tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] could not identify numa node of platform gpu id 0, defaulting to 0.  your kernel may not have been built with numa support.
2022-06-15 12:26:39.087578: i tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:961] could not open file to read numa node: /sys/bus/pci/devices/0000:01:00.0/numa_node
your kernel may have been built without numa support.

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

7.2 tf_enable_onednn_opts

problem like this

2024-03-18 07:42:53.040059: i tensorflow/core/util/port.cc:113] onednn custom operations are on. you may see slightly different numerical results due to floating-point round-off errors from different computation orders. to turn them off, set the environment variable `tf\_enable\_onednn\_opts=0`.

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

import os
os.environ['tf\_enable\_onednn\_opts'] = '0'

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

7.3 cudnn/cufft/cublas插件冲突

problem like this

2024-03-11 08:23:27.237450: e external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] unable to register cudnn factory: attempting to register factory for plugin cudnn when one has already been registered
2024-03-11 08:23:27.237475: e external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] unable to register cufft factory: attempting to register factory for plugin cufft when one has already been registered
2024-03-11 08:23:27.238122: e external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] unable to register cublas factory: attempting to register factory for plugin cublas when one has already been registered

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

7.4 sklearn的安装

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

pip install -u scikit-learn

8. tensorflow的warning抑制

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

import os
os.environ['tf\_cpp\_min\_log\_level'] = '3' # or any {‘0’, ‘1’, ‘2’}

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

annex

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

a1. pip的安装清单

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

a2. apt的安装清单

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


为了做好运维面试路上的助攻手,特整理了上百道 **【运维技术栈面试题集锦】** ,让你面试不慌心不跳,高薪offer怀里抱!

这次整理的面试题,**小到shell、mysql,大到k8s等云原生技术栈,不仅适合运维新人入行面试需要,还适用于想提升进阶跳槽加薪的运维朋友。**

![](https://img-blog.csdnimg.cn/img_convert/c037debebde2bbaaafde32001dd865ed.png)

本份面试集锦涵盖了

*   **174 道运维工程师面试题**
*   **128道k8s面试题**
*   **108道shell脚本面试题**
*   **200道linux面试题**
*   **51道docker面试题**
*   **35道jenkis面试题**
*   **78道mongodb面试题**
*   **17道ansible面试题**
*   **60道dubbo面试题**
*   **53道kafka面试**
*   **18道mysql面试题**
*   **40道nginx面试题**
*   **77道redis面试题**
*   **28道zookeeper**

**总计 1000+ 道面试题, 内容 又全含金量又高**

*   **174道运维工程师面试题**

> 1、什么是运维?

> 2、在工作中,运维人员经常需要跟运营人员打交道,请问运营人员是做什么工作的?

> 3、现在给你三百台服务器,你怎么对他们进行管理?

> 4、简述raid0 raid1raid5二种工作模式的工作原理及特点

> 5、lvs、nginx、haproxy有什么区别?工作中你怎么选择?

> 6、squid、varinsh和nginx有什么区别,工作中你怎么选择?

> 7、tomcat和resin有什么区别,工作中你怎么选择?

> 8、什么是中间件?什么是jdk?

> 9、讲述一下tomcat8005、8009、8080三个端口的含义?

> 10、什么叫cdn?

> 11、什么叫网站灰度发布?

> 12、简述dns进行域名解析的过程?

> 13、rabbitmq是什么东西?

> 14、讲一下keepalived的工作原理?

> 15、讲述一下lvs三种模式的工作过程?

> 16、mysql的innodb如何定位锁问题,mysql如何减少主从复制延迟?

> 17、如何重置mysql root密码?

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

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

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

本份面试集锦涵盖了

*   **174 道运维工程师面试题**
*   **128道k8s面试题**
*   **108道shell脚本面试题**
*   **200道linux面试题**
*   **51道docker面试题**
*   **35道jenkis面试题**
*   **78道mongodb面试题**
*   **17道ansible面试题**
*   **60道dubbo面试题**
*   **53道kafka面试**
*   **18道mysql面试题**
*   **40道nginx面试题**
*   **77道redis面试题**
*   **28道zookeeper**

**总计 1000+ 道面试题, 内容 又全含金量又高**

*   **174道运维工程师面试题**

> 1、什么是运维?

> 2、在工作中,运维人员经常需要跟运营人员打交道,请问运营人员是做什么工作的?

> 3、现在给你三百台服务器,你怎么对他们进行管理?

> 4、简述raid0 raid1raid5二种工作模式的工作原理及特点

> 5、lvs、nginx、haproxy有什么区别?工作中你怎么选择?

> 6、squid、varinsh和nginx有什么区别,工作中你怎么选择?

> 7、tomcat和resin有什么区别,工作中你怎么选择?

> 8、什么是中间件?什么是jdk?

> 9、讲述一下tomcat8005、8009、8080三个端口的含义?

> 10、什么叫cdn?

> 11、什么叫网站灰度发布?

> 12、简述dns进行域名解析的过程?

> 13、rabbitmq是什么东西?

> 14、讲一下keepalived的工作原理?

> 15、讲述一下lvs三种模式的工作过程?

> 16、mysql的innodb如何定位锁问题,mysql如何减少主从复制延迟?

> 17、如何重置mysql root密码?

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

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

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

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com