Commit 68b83cdf authored by dengjb's avatar dengjb
Browse files

update

parent 03c8cb02
......@@ -30,7 +30,7 @@ T1 模型是 TeleChat 系列专注于复杂推理的模型,由中国电信人
| flash_attn | 2.6.1+das.opt1.dtk2504 |
| flash_mla | 1.0.0+das.opt1.dtk25042 |
当前仅支持镜像:
推荐使用镜像:
- 挂载地址`-v`根据实际模型情况修改
```bash
......@@ -50,10 +50,9 @@ docker run -it --shm-size 60g --network=host --name teleai-t1 --privileged --dev
### vllm
#### 单机推理
可参考vllm_serve.sh脚本
```bash
## serve启动
## 可参考vllm_serve.sh脚本
vllm serve /path/of/TeleAI/T1-35B/ \
--trust-remote-code \
--max-model-len 32768 \
......@@ -61,7 +60,6 @@ vllm serve /path/of/TeleAI/T1-35B/ \
--dtype bfloat16 \
-tp 1
## client访问
可参考vllm_cilent.sh
curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
......@@ -89,7 +87,7 @@ DCU与GPU精度一致,推理框架:vllm。
## 预训练权重
| 模型名称 | 权重大小 | DCU型号 | 最低卡数需求 |下载地址|
|:-----:|:----------:|:----------:|:---------------------:|:----------:|
| TeleAI_T1 | 35B | BW1000 | 1 | [下载地址](https://modelscope.cn/models/TeleAI/T1-35B) |
| TeleAI_T1 | 35B | BW1000 | 1 | [modelscope](https://modelscope.cn/models/TeleAI/T1-35B) |
## 源码仓库及问题反馈
- https://developer.sourcefind.cn/codes/modelzoo/teleai_t1_vllm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment