qflow:ubuntu_gpu
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| qflow:ubuntu_gpu [2026/07/13 14:20] – [qflow gpu 容器版 ubuntu 24.04 安装指南] wuxingxing | qflow:ubuntu_gpu [2026/07/13 16:46] (当前版本) – 外部编辑 127.0.0.1 | ||
|---|---|---|---|
| 行 2: | 行 2: | ||
| 适用系统:Ubuntu 24.04 LTS\\ | 适用系统:Ubuntu 24.04 LTS\\ | ||
| - | 包含:qflow gpu 容器版与现有主流 GPU 应用相同,都在运行时依赖 NVIDIA 显卡驱动、Docker、nvidia-container-toolkit,安装qflow gpu 容器版前请先确定您的机器已经安装这些依赖项。本手册中提供了这些依赖项的安装步骤,您可以参考安装。 | + | 包含:qflow gpu 容器版与现有主流容器版 |
| ---- | ---- | ||
| 行 67: | 行 67: | ||
| </ | </ | ||
| - | 如果能看到显卡型号、驱动版本、CUDA 版本等信息,说明驱动已成功安装(如下图例所示): | + | 如果能看到显卡型号、驱动版本、CUDA 版本等信息,说明驱动已成功安装(如下图例所示): |
| NVIDIA-SMI 535.309.01 为命令行工具本身的版本号,是用来查询GPU状态的可执行程序; | NVIDIA-SMI 535.309.01 为命令行工具本身的版本号,是用来查询GPU状态的可执行程序; | ||
| 行 80: | 行 80: | ||
| ===== 2. 安装 Docker ===== | ===== 2. 安装 Docker ===== | ||
| + | 安装前请先确认您的机器是否未安装docker: | ||
| + | |||
| + | <code bash> | ||
| + | docker --version | ||
| + | # 如果输出类似 Docker version 29.6.1, build 8900f1d 信息,则表示已安装docker | ||
| + | |||
| + | systemctl status docker | ||
| + | # 检查检查 Docker 服务是否运行,显示 active (running) ,则不仅安装了,服务也在运行 | ||
| + | </ | ||
| ==== 2.1 安装必要的依赖 ==== | ==== 2.1 安装必要的依赖 ==== | ||
| 行 126: | 行 135: | ||
| <code bash> | <code bash> | ||
| sudo docker run --rm swr.cn-north-4.myhuaweicloud.com/ | sudo docker run --rm swr.cn-north-4.myhuaweicloud.com/ | ||
| + | |||
| + | # 展示类似如下信息则表示安装成功 | ||
| + | # 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 " | ||
| + | # 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 | ||
| + | |||
| </ | </ | ||
| 行 150: | 行 173: | ||
| 可在服务器直接下载: | 可在服务器直接下载: | ||
| <code bash> | <code bash> | ||
| - | wget --user=pwmmat | + | wget --user=pwmat --password=SimplyTheBest " |
| </ | </ | ||
| ==== 3.2 安装 nvidia-container-toolkit ==== | ==== 3.2 安装 nvidia-container-toolkit ==== | ||
| 行 178: | 行 201: | ||
| </ | </ | ||
| - | 如果容器内能正常输出 '' | + | 如果容器内能正常输出 '' |
| - | + | {{: | |
| - | ===== 4. qflow gpu 容器版 ===== | + | ===== 4. 开始 |
| - | 点击链接, | + | 点击链接, |
| ~~DISCUSSION: | ~~DISCUSSION: | ||
qflow/ubuntu_gpu.1783923601.txt.gz · 最后更改: 2026/07/13 14:20 由 wuxingxing
