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
Baichuan2_pytorch
Commits
0b92dfbe
Commit
0b92dfbe
authored
Nov 10, 2023
by
zhaoying1
Browse files
Update README.md
parent
1fb16033
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
README.md
README.md
+3
-1
No files found.
README.md
View file @
0b92dfbe
...
@@ -31,6 +31,8 @@ Baichuan整体模型基于标准的Transformer结构,采用了和LLaMA一样
...
@@ -31,6 +31,8 @@ Baichuan整体模型基于标准的Transformer结构,采用了和LLaMA一样
推荐使用docker方式运行,提供拉取的docker镜像:
推荐使用docker方式运行,提供拉取的docker镜像:
```
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:1.13.1-centos7.6-dtk-23.04-py38-latest
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:1.13.1-centos7.6-dtk-23.04-py38-latest
docker run -dit --network=host --name=baichuan2 --privileged --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size=16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root --ulimit stack=-1:-1 --ulimit memlock=-1:-1 image.sourcefind.cn:5000/dcu/admin/base/pytorch:1.13.1-centos7.6-dtk-23.04-py38-latest
docker exec -it baichuan2 /bin/bash
```
```
安装docker中没有的依赖:
安装docker中没有的依赖:
```
```
...
@@ -201,4 +203,4 @@ python cli_demo.py
...
@@ -201,4 +203,4 @@ python cli_demo.py
## 参考
## 参考
-
[
https://github.com/baichuan-inc/Baichuan2/tree/main
](
https://github.com/baichuan-inc/Baichuan2/tree/main
)
-
[
https://github.com/baichuan-inc/Baichuan2/tree/main
](
https://github.com/baichuan-inc/Baichuan2/tree/main
)
\ No newline at end of file
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