update vllm
This commit is contained in:
10
enginex/Baichuan2_pytorch.md
Normal file
10
enginex/Baichuan2_pytorch.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
# 推荐使用docker方式运行,提供拉取的docker镜像:
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
|
||||
docker run -dit --shm-size 80g --network=host --name=baichuan2 --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root -v /opt/hyhal/:/opt/hyhal/:ro image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10 /bin/bash
|
||||
docker exec -it baichuan2 /bin/bash
|
||||
# 安装docker中没有的依赖:
|
||||
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
```
|
||||
12
enginex/GLM-4-9B-0414.md
Normal file
12
enginex/GLM-4-9B-0414.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.1.0-ubuntu20.04-dtk24.04.2-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 glm-4v bash
|
||||
|
||||
cd /path/your_code_data/
|
||||
|
||||
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
#开发者社区下载bitsandbytes
|
||||
pip install bitsandbytes-0.42.0+das1.1.gitce85679.abi1.dtk2404.torch2.1.0-py3-none-any.whl
|
||||
```
|
||||
10
enginex/GLM-4_pytorch.md
Normal file
10
enginex/GLM-4_pytorch.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
dcoker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.4.1-ubuntu22.04-dtk25.04-py3.10
|
||||
docker run -it --shm-size 200g --network=host --name {docker_name} --privileged --device=/dev/kfd --device=/dev/dri --device=/dev/mkfd --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal/:/opt/hyhal/:ro {imageID} bash
|
||||
|
||||
cd /your_code_path/glm-4_pytorch
|
||||
pip install -r inference/requirements.txt
|
||||
pip install -r finetune/requirements.txt
|
||||
```
|
||||
6
enginex/Meta-Llama-3-8B-Instruct.md
Normal file
6
enginex/Meta-Llama-3-8B-Instruct.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
# 推荐使用docker方式运行,提供拉取的docker镜像:
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/
|
||||
```
|
||||
9
enginex/Qwen-7B-Chat.md
Normal file
9
enginex/Qwen-7B-Chat.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
# 推荐使用docker方式运行,提供拉取的docker镜像:
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/git.modelhub.org.cn:9443/enginex-hygon/pytorch:1.13.1-centos7.6-dtk-23.04-py38-latest
|
||||
# 自定义容器名
|
||||
# 当前工程所在路径
|
||||
docker run -it --name= -v :/work --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined --cap-add=SYS_PTRACE --shm-size=16G --group-add 39 image.sourcefind.cn:5000/dcu/admin/base/pytorch:1.13.1-centos7.6-dtk-23.04-py38-latest /bin/bash
|
||||
```
|
||||
9
enginex/Qwen1.5-14B-Chat.md
Normal file
9
enginex/Qwen1.5-14B-Chat.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
# 推荐使用docker方式运行,提供拉取的docker镜像:
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
|
||||
docker run -it --shm-size=1024G -v $PWD/qwen1.5-pytorch:/home/Qwen1.5-pytorch -v /opt/hyhal:/opt/hyhal --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name Qwen1.5-pytorch bash # 为以上拉取的docker的镜像ID替换,本镜像为:ffa1f63239fc
|
||||
cd /home/Qwen1.5-pytorch
|
||||
pip install -r requirement.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
```
|
||||
11
enginex/Qwen2-7B.md
Normal file
11
enginex/Qwen2-7B.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
|
||||
docker run -it --shm-size=1024G -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal:/opt/hyhal --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name qwen2_72B_pytorch bash # 为以上拉取的docker的镜像ID替换,本镜像为:a4dd5be0ca23
|
||||
pip install https://cancon.hpccube.com:65024/directlink/4/vllm/DAS1.1.1/vllm-0.5.0+das.opt1.3e2c63a.dtk2404.torch2.1.0-cp310-cp310-linux_x86_64.whl
|
||||
cd /path/your_code_data/
|
||||
cd LLaMA-Factory
|
||||
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
pip install e . -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
```
|
||||
13
enginex/Qwen2.5-Omni_pytorch.md
Normal file
13
enginex/Qwen2.5-Omni_pytorch.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.4.1-ubuntu22.04-dtk25.04-py3.10-fixpy
|
||||
# 为以上拉取的docker的镜像ID替换,本镜像为:e77c15729879
|
||||
docker run -it --shm-size=64G -v $PWD/Qwen2.5-Omni:/home/Qwen2.5-Omni -v /opt/hyhal:/opt/hyhal:ro --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name qomni bash
|
||||
cd /home/Qwen2.5-Omni
|
||||
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
|
||||
|
||||
unzip f742a644ca32e65758c3adb36225aef1731bd2a8.zip
|
||||
cd transformers-f742a644ca32e65758c3adb36225aef1731bd2a8
|
||||
pip install -e . # 作者限定只能使用transformers==4.50.0.dev0
|
||||
```
|
||||
9
enginex/Qwen3_副本.md
Normal file
9
enginex/Qwen3_副本.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/custom:vllm0.8.4-ubuntu22.04-dtk25.04-rc7-das1.5-py3.10-20250429-dev-qwen3-only
|
||||
# <your IMAGE ID>为以上拉取的docker的镜像ID替换
|
||||
docker run -it --shm-size=64G -v $PWD/Qwen3:/home/Qwen3 -v /opt/hyhal:/opt/hyhal:ro --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name qwen3 <your IMAGE ID> bash
|
||||
cd /home/Qwen3
|
||||
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
|
||||
```
|
||||
Reference in New Issue
Block a user