Skip to content

Commit

Permalink
Merge pull request #143 from yyyhhhh/test
Browse files Browse the repository at this point in the history
模型中心部分文档修改
  • Loading branch information
windsonsea authored Nov 5, 2024
2 parents 64740dc + d653bcc commit 3129010
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
Binary file modified docs/zh/docs/dmc/images/dmc-home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/zh/docs/dmc/images/get-model.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/zh/docs/dmc/images/inner01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/zh/docs/dmc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ hide:

# 什么是模型中心

**d.run 模型中心**是一款功能强大的模型管理和服务平台,旨在为用户提供便捷、高效的模型管理和使用体验。
**d.run 模型中心** 是一款功能强大的模型管理和服务平台,旨在为用户提供便捷、高效的模型管理和使用体验。

## 产品的主要特点和优势

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/docs/dmc/model-hub/built-in.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ hide:

![alt text](../images/image-2.png)

部署成功后,模型服务显示**健康**
部署成功后,模型服务显示 **健康**

4. 点击模型服务的名称,可以调试模型的对话能力。

Expand Down
10 changes: 6 additions & 4 deletions docs/zh/docs/dmc/model-hub/get-model-image.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 接入模型镜像
# 接入模型

d.run 模型中心支持接入 [HuggingFace Transformers](https://huggingface.co/models) 上托管的各种生成式 Transformer 模型。

Expand Down Expand Up @@ -231,14 +231,16 @@ docker push myregistry.example.com/vllm-openai-tiktoken-chatglm3-6b-server
1. **进入模型中心**
在 DAK 的模型中心选择“接入模型”。

2. **选择加载方式为“文件挂载”**
2. **选择模型加载方式为“文件挂载”**

3. **填写模型路径**
按照模型在工作节点的挂载目录填写路径。例如,`chatglm3-6b` 模型挂载后的路径为:
3. **选择基础镜像和填写模型路径**
模型路径按照模型所在工作节点的挂载目录填写。例如,`chatglm3-6b` 模型挂载后的路径为:

```text
/root/llms/chatglm3-6b
```

![get-model](../images/get-model.jpg)

4. **提交模型路径配置**
现在,模型已经成功加载,模型中心会从挂载目录中获取文件进行使用。
2 changes: 1 addition & 1 deletion docs/zh/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ nav:
- 模型仓库:
- 内置模型: dmc/model-hub/built-in.md
# - 微调模型: dmc/model-hub/tuner.md
- 接入模型镜像: dmc/model-hub/get-model-image.md
- 接入模型: dmc/model-hub/get-model-image.md
- 模型服务:
# - 本地模型服务: dmc/model-service/local.md
- 在线模型服务: dmc/model-service/online.md
Expand Down

0 comments on commit 3129010

Please sign in to comment.