Commit c9070c2e authored by chenzk's avatar chenzk
Browse files

Update sf.md

parent f7471395
...@@ -43,7 +43,7 @@ docker run -it --network=host --name=qwen_lmdeploy --privileged --device=/dev/kf ...@@ -43,7 +43,7 @@ docker run -it --network=host --name=qwen_lmdeploy --privileged --device=/dev/kf
```bash ```bash
# 若使用光源的镜像,可以不用源码编译,镜像里面安装好了lmdeploy,可跳过源码编译安装 # 若使用光源的镜像,可以不用源码编译,镜像里面安装好了lmdeploy,可跳过源码编译安装
# 获取源码,编译并安装 # 获取源码,编译并安装
git clone -b v1.4 http://developer.hpccube.com/codes/modelzoo/Qwen_lmdeploy.git git clone -b v1.4 http://developer.sourcefind.cn/codes/modelzoo/Qwen_lmdeploy.git
cd qwen_lmdeploy cd qwen_lmdeploy
git submodule init && git submodule update git submodule init && git submodule update
cd lmdeploy cd lmdeploy
...@@ -139,7 +139,7 @@ lmdeploy serve gradio restful_api_url --server-name {ip} --server-port {port} ...@@ -139,7 +139,7 @@ lmdeploy serve gradio restful_api_url --server-name {ip} --server-port {port}
**需要保证'{server-name}:{server-port}'在外部浏览器中的可访问性** **需要保证'{server-name}:{server-port}'在外部浏览器中的可访问性**
关于 RESTful API的详细介绍,请参考[这份](https://developer.hpccube.com/codes/aicomponent/lmdeploy/-/blob/dtk23.10-v0.1.0/docs/zh_cn/restful_api.md)文档。 关于 RESTful API的详细介绍,请参考[这份](https://developer.sourcefind.cn/codes/aicomponent/lmdeploy/-/blob/dtk23.10-v0.1.0/docs/zh_cn/restful_api.md)文档。
## result ## result
...@@ -162,7 +162,7 @@ lmdeploy serve gradio restful_api_url --server-name {ip} --server-port {port} ...@@ -162,7 +162,7 @@ lmdeploy serve gradio restful_api_url --server-name {ip} --server-port {port}
## 源码仓库及问题反馈 ## 源码仓库及问题反馈
https://developer.hpccube.com/codes/modelzoo/qwen_lmdeploy https://developer.sourcefind.cn/codes/modelzoo/qwen_lmdeploy
## 参考资料 ## 参考资料
https://github.com/InternLM/LMDeploy https://github.com/InternLM/LMDeploy
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