Commit daa844a5 authored by zhaoying1's avatar zhaoying1
Browse files

Update README.md

parent b9017ab3
...@@ -62,7 +62,7 @@ docker build -t llama:latest . ...@@ -62,7 +62,7 @@ docker build -t llama:latest .
docker run -dit --network=host --name=llama-tencentpretrain --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 llama:latest docker run -dit --network=host --name=llama-tencentpretrain --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 llama:latest
docker exec -it llama-tencentpretrain /bin/bash docker exec -it llama-tencentpretrain /bin/bash
``` ```
### Conda(方法三) ### Conda(方式三)
1. 创建conda虚拟环境: 1. 创建conda虚拟环境:
``` ```
conda create -n chatglm python=3.7 conda create -n chatglm python=3.7
...@@ -215,4 +215,4 @@ TencentPretrain格式模型推理请参考[llama_inference_pytorch](https://deve ...@@ -215,4 +215,4 @@ TencentPretrain格式模型推理请参考[llama_inference_pytorch](https://deve
* https://github.com/CVI-SZU/Linly * https://github.com/CVI-SZU/Linly
* https://github.com/Tencent/TencentPretrain/ * https://github.com/Tencent/TencentPretrain/
* https://github.com/ProjectD-AI/llama_inference * https://github.com/ProjectD-AI/llama_inference
\ No newline at end of file
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