update add
This commit is contained in:
@@ -7,4 +7,5 @@
|
||||
|
||||
支持模型列表:
|
||||
- jina-embeddings-v3
|
||||
- DeepSeek-R1
|
||||
- DeepSeek-R1
|
||||
- ChatGLM3-6B
|
||||
14
enginex/ChatGLM3-6B.md
Normal file
14
enginex/ChatGLM3-6B.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# 运行方式
|
||||
|
||||
推荐使用docker方式运行,提供拉取的docker镜像:
|
||||
```python
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
|
||||
```
|
||||
进入docker,安装docker中没有的依赖:
|
||||
```python
|
||||
docker run -dit --network=host --name=chatglm3 --privileged --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size=16G -v /opt/hyhal/:/opt/hyhal/:ro --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:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
|
||||
docker exec -it chatglm3 /bin/bash
|
||||
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
cd finetune_demo
|
||||
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
```
|
||||
Reference in New Issue
Block a user