From 586d3eda5307722a037d83c2ede6c23c8b86db79 Mon Sep 17 00:00:00 2001 From: jinke Date: Mon, 14 Aug 2023 01:02:38 +0800 Subject: [PATCH] add docker image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加docker镜像链接及描述。 --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 271a41a..68011ec 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,20 @@ 🌐 [AutoDL 镜像](https://www.codewithgpu.com/i/imClumsyPanda/langchain-ChatGLM/langchain-ChatGLM) 中 v4 版本所使用代码已更新至本项目 `0.2.0` 版本。 -🐳 Docker 镜像制作中 + + +🐳 [Docker 镜像](registry.cn-beijing.aliyuncs.com/chatchat/chatchat:0.2.0) 🌲 + +💻 一行命令运行: +```shell +docker run -d --gpus all -p 80:8501 registry.cn-beijing.aliyuncs.com/chatchat/chatchat:0.2.0 +``` +- 该版本镜像大小`33.9GB`,使用[v0.2.0](https://github.com/chatchat-space/Langchain-Chatchat/tree/dev),以`nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04`为基础镜像 +- 该版本内置一个`embedding`模型:`m3e-large`,内置`fastchat+chatglm2-6b-32k` +- 该版本目标为方便一键部署使用,请确保您已经在Linux发行版上安装了NVIDIA驱动程序 +- 请注意,您不需要在主机系统上安装CUDA工具包,但需要安装`NVIDIA Driver`以及`NVIDIA Container Toolkit`,请参考[安装指南](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) +- 首次拉取和启动均需要一定时间,首次启动时请参照下图使用`docker logs -f `查看日志 +- 如遇到启动过程卡在`Waiting..`步骤,建议使用`docker exec -it bash`进入`/logs/`目录查看对应阶段日志 ---