Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
Telechat_pytorch
Commits
db1de1e2
Commit
db1de1e2
authored
Nov 11, 2024
by
dcuai
Browse files
Update README.md
parent
93a8eaae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
README.md
README.md
+14
-8
No files found.
README.md
View file @
db1de1e2
...
@@ -42,8 +42,9 @@ pip install auto-gptq -i https://pypi.mirrors.ustc.edu.cn/simple/
...
@@ -42,8 +42,9 @@ pip install auto-gptq -i https://pypi.mirrors.ustc.edu.cn/simple/
### Dockerfile(方法二)
### Dockerfile(方法二)
此处提供dockerfile的使用方法
此处提供dockerfile的使用方法
```
```
cd TeleChat/docker
docker build --no-cache -t telechat_pytorch:latest .
docker build --no-cache -t telechat_pytorch:latest .
docker run
xxx
docker run
--shm-size 80g --network=host --name=telechat --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v /opt/hyhal:/opt/hyhal:ro -v <Host Path>:<Container Path> -it telechat_pytorch:latest bash
安装依赖:
安装依赖:
cd TeleChat
cd TeleChat
...
@@ -53,16 +54,18 @@ pip install optimum -i https://pypi.mirrors.ustc.edu.cn/simple/
...
@@ -53,16 +54,18 @@ pip install optimum -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install auto-gptq -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install auto-gptq -i https://pypi.mirrors.ustc.edu.cn/simple/
```
```
### Anaconda(方法三)
### Anaconda(方法三)
此处提供本地配置、编译的详细步骤,例如:
1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装:
-
https://developer.hpccube.com/tool/
关于本项目DCU显卡所需的特殊深度学习库可从
[
光合
](
https://developer.hpccube.com/tool/
)
开发者社区下载安装。
```
```
DTK驱动:dtk24.04
DTK驱动:dtk24.04.1
python:python3.10
python:python3.10
torch:2.1.0
torchvision:0.16.0
```
```
`Tips:以上dtk驱动、python、paddle等DCU相关工具版本需要严格一一对应`
其它非深度学习库参照requirements.txt安装:
`Tips:以上dtk驱动、python、torch等DCU相关工具版本需要严格一一对应。`
2、其它非深度学习库参照requirements.txt安装:
```
```
安装依赖:
安装依赖:
cd TeleChat
cd TeleChat
...
@@ -71,6 +74,9 @@ pip install 'ms-swift[llm]' -U -i https://pypi.mirrors.ustc.edu.cn/simple/
...
@@ -71,6 +74,9 @@ pip install 'ms-swift[llm]' -U -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install optimum -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install optimum -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install auto-gptq -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install auto-gptq -i https://pypi.mirrors.ustc.edu.cn/simple/
```
```
## 数据集
无
## 模型下载链接
## 模型下载链接
|
**模型版本**
|
**下载链接**
|
|
**模型版本**
|
**下载链接**
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment