update add

This commit is contained in:
zhousha
2025-11-07 16:31:39 +08:00
parent 36f4400425
commit 976bfd67e8
2 changed files with 16 additions and 1 deletions

View File

@@ -7,4 +7,5 @@
支持模型列表: 支持模型列表:
- jina-embeddings-v3 - jina-embeddings-v3
- DeepSeek-R1 - DeepSeek-R1
- ChatGLM3-6B

14
enginex/ChatGLM3-6B.md Normal file
View 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
```