From 4174be645e6de3f66af01becfbb028021880b12e Mon Sep 17 00:00:00 2001 From: whp98 <32877126+whp98@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=8D=9A=E5=AE=A2=EF=BC=8C?= =?UTF-8?q?=E6=97=B6=E9=97=B4:2024/11/08=2014:43:13?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Docker\344\270\255\350\267\221Ollama.md" | 2 ++ ...idia\346\230\276\345\215\241\350\267\221comfyui.md" | 10 ++++------ "docs/AI\347\233\270\345\205\263/index.md" | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename "docs/AI\347\233\270\345\205\263/docker\344\275\277\347\224\250nvidia\346\230\276\345\215\241\350\267\221ai.md" => "docs/AI\347\233\270\345\205\263/docker\344\275\277\347\224\250nvidia\346\230\276\345\215\241\350\267\221comfyui.md" (94%) diff --git "a/docs/AI\347\233\270\345\205\263/Docker\344\270\255\350\267\221Ollama.md" "b/docs/AI\347\233\270\345\205\263/Docker\344\270\255\350\267\221Ollama.md" index 318ea941b..6a8c00b9c 100644 --- "a/docs/AI\347\233\270\345\205\263/Docker\344\270\255\350\267\221Ollama.md" +++ "b/docs/AI\347\233\270\345\205\263/Docker\344\270\255\350\267\221Ollama.md" @@ -15,7 +15,9 @@ https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html https://docs.docker.com/engine/containers/resource_constraints/#gpu + 4. 安装vscode + 5. 安装vscode docker 插件 ## 二、准备docker-compose文件 diff --git "a/docs/AI\347\233\270\345\205\263/docker\344\275\277\347\224\250nvidia\346\230\276\345\215\241\350\267\221ai.md" "b/docs/AI\347\233\270\345\205\263/docker\344\275\277\347\224\250nvidia\346\230\276\345\215\241\350\267\221comfyui.md" similarity index 94% rename from "docs/AI\347\233\270\345\205\263/docker\344\275\277\347\224\250nvidia\346\230\276\345\215\241\350\267\221ai.md" rename to "docs/AI\347\233\270\345\205\263/docker\344\275\277\347\224\250nvidia\346\230\276\345\215\241\350\267\221comfyui.md" index 463d54f86..1f512d543 100644 --- "a/docs/AI\347\233\270\345\205\263/docker\344\275\277\347\224\250nvidia\346\230\276\345\215\241\350\267\221ai.md" +++ "b/docs/AI\347\233\270\345\205\263/docker\344\275\277\347\224\250nvidia\346\230\276\345\215\241\350\267\221comfyui.md" @@ -1,4 +1,4 @@ -# ubuntu docker使用nvidia显卡跑ai +# ubuntu docker使用nvidia显卡跑comfyui ## 参考文档 @@ -6,9 +6,6 @@ https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html -## 安装 - - ### apt安装nvidia-container-toolkit ```shell curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \ @@ -89,8 +86,9 @@ services: - "host.docker.internal:host-gateway" environment: - no_proxy=localhost,127.0.0.1,host.docker.internal - - https_proxy=http://host.docker.internal:20003 - - http_proxy=http://host.docker.internal:20003 + # 可替换为自己的代理地址 + - https_proxy=http://host.docker.internal:7890 + - http_proxy=http://host.docker.internal:7890 runtime: nvidia deploy: resources: diff --git "a/docs/AI\347\233\270\345\205\263/index.md" "b/docs/AI\347\233\270\345\205\263/index.md" index 775711c2d..440028602 100644 --- "a/docs/AI\347\233\270\345\205\263/index.md" +++ "b/docs/AI\347\233\270\345\205\263/index.md" @@ -1,5 +1,5 @@ # AI相关 +- [ubuntu docker使用nvidia显卡跑comfyui](./docker使用nvidia显卡跑comfyui.md) - [Docker中跑Ollama](./Docker中跑Ollama.md) -- [ubuntu docker使用nvidia显卡跑ai](./docker使用nvidia显卡跑ai.md) - [LLM-API参数解读](./LLM-API参数解读.md) - [Ollama安装和使用](./ollama安装和使用.md)