qflow:centos_gpu
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| qflow:centos_gpu [2026/07/02 13:50] – 外部编辑 127.0.0.1 | qflow:centos_gpu [2026/07/13 16:57] (当前版本) – 外部编辑 127.0.0.1 | ||
|---|---|---|---|
| 行 32: | 行 32: | ||
| <code bash> | <code bash> | ||
| - | sudo vi / | + | sudo tee / |
| - | </code> | + | |
| - | + | ||
| - | 在文件中写入以下两行内容: | + | |
| - | + | ||
| - | <file> | + | |
| blacklist nouveau | blacklist nouveau | ||
| options nouveau modeset=0 | options nouveau modeset=0 | ||
| - | </file> | + | EOF |
| + | </code> | ||
| - | 保存并退出后,重建内核镜像并切换为文本模式启动: | + | 重建内核镜像并切换为文本模式启动: |
| <code bash> | <code bash> | ||
| 行 53: | 行 49: | ||
| ==== 2.4 下载驱动并执行安装 ==== | ==== 2.4 下载驱动并执行安装 ==== | ||
| - | 从 [[https:// | + | > 从 [[https:// |
| + | > 或 从如下链接 | ||
| + | > | ||
| + | > 链接:http:// | ||
| + | > 用户名:pwmat | ||
| + | > 密码: SimplyTheBest | ||
| + | > | ||
| + | >下载上传到服务器并执行: | ||
| <code bash> | <code bash> | ||
| - | sudo sh NVIDIA-Linux-x86_64-570.181.run --ui=none --no-questions --accept-license --no-opengl-files | + | sudo sh NVIDIA-Linux-x86_64-550.76.run --ui=none --no-questions --accept-license --no-opengl-files |
| </ | </ | ||
| 行 149: | 行 152: | ||
| <code bash> | <code bash> | ||
| - | sudo docker run --rm --gpus all swr.cn-north-4.myhuaweicloud.com/ | + | sudo docker run --rm --gpus all \ |
| + | swr.cn-north-4.myhuaweicloud.com/ | ||
| + | nvidia-smi | ||
| </ | </ | ||
| 行 156: | 行 161: | ||
| ===== 5. qflow gpu 容器版 ===== | ===== 5. qflow gpu 容器版 ===== | ||
| - | 点击链接, | + | 点击链接, |
| ~~DISCUSSION: | ~~DISCUSSION: | ||
qflow/centos_gpu.1782971448.txt.gz · 最后更改: 2026/07/02 13:50 由 127.0.0.1
