添加 enginex/LongCat.md

This commit is contained in:
2025-11-04 18:25:35 +08:00
parent 412c6b3922
commit cd93acfe7e

20
enginex/LongCat.md Normal file
View File

@@ -0,0 +1,20 @@
# 运行方式
```
docker pull git.modelhub.org.cn:9443/enginex-hygon/vllm:0.9.2-ubuntu22.04-dtk25.04.1-rc5-rocblas101839-0811-das1.6-py3.10-20250812-beta
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
## 安装sglang
git clone git.modelhub.org.cn:9443/enginex-hygon/sglang
cd sglang
# 编译安装sgl-kernel包
cd sgl-kernel
python setup_hip.py install
# 安装sglang Python依赖
cd ..
pip install -e "python[all_hip]"
pip install transformers==4.56.0
cd /your_code_path/longcat_sglang
```