qflow:ubuntu_gpu
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| qflow:ubuntu_gpu [2026/07/13 14:32] – [2. 安装 Docker] wuxingxing | qflow:ubuntu_gpu [2026/07/13 16:46] (当前版本) – 外部编辑 127.0.0.1 | ||
|---|---|---|---|
| 行 67: | 行 67: | ||
| </ | </ | ||
| - | 如果能看到显卡型号、驱动版本、CUDA 版本等信息,说明驱动已成功安装(如下图例所示): | + | 如果能看到显卡型号、驱动版本、CUDA 版本等信息,说明驱动已成功安装(如下图例所示): |
| NVIDIA-SMI 535.309.01 为命令行工具本身的版本号,是用来查询GPU状态的可执行程序; | NVIDIA-SMI 535.309.01 为命令行工具本身的版本号,是用来查询GPU状态的可执行程序; | ||
| 行 135: | 行 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 | ||
| + | |||
| </ | </ | ||
| 行 159: | 行 173: | ||
| 可在服务器直接下载: | 可在服务器直接下载: | ||
| <code bash> | <code bash> | ||
| - | wget --user=pwmmat | + | wget --user=pwmat --password=SimplyTheBest " |
| </ | </ | ||
| ==== 3.2 安装 nvidia-container-toolkit ==== | ==== 3.2 安装 nvidia-container-toolkit ==== | ||
| 行 187: | 行 201: | ||
| </ | </ | ||
| - | 如果容器内能正常输出 '' | + | 如果容器内能正常输出 '' |
| - | + | {{: | |
| - | ===== 4. qflow gpu 容器版 ===== | + | ===== 4. 开始 |
| - | 点击链接, | + | 点击链接, |
| ~~DISCUSSION: | ~~DISCUSSION: | ||
qflow/ubuntu_gpu.1783924372.txt.gz · 最后更改: 2026/07/13 14:32 由 wuxingxing
