update
This commit is contained in:
17
enginex/XuanYuan-13B-Chat.md
Normal file
17
enginex/XuanYuan-13B-Chat.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
|
||||
|
||||
docker run -it -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal/:/opt/hyhal/:ro --shm-size=64G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name xuanyuan bash
|
||||
|
||||
cd /path/your_code_data/
|
||||
|
||||
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
|
||||
git clone --depth 1 https://github.com/hiyouga/LLaMA-Factory.git
|
||||
|
||||
cd LLaMA-Factory
|
||||
|
||||
pip install -e ".[torch,metrics]"
|
||||
```
|
||||
Reference in New Issue
Block a user