update for ascend

This commit is contained in:
zhousha
2025-09-09 15:29:43 +08:00
parent dd602ed3d1
commit 41550cf808
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM quay.io/ascend/vllm-ascend:v0.10.0rc1
FROM git.modelhub.org.cn:980/enginex-ascend/quay.io/ascend/vllm-ascend:v0.10.0rc1
WORKDIR /workspace/
COPY ./model_test_caltech_http_ascend.py /workspace/

View File

@@ -10,10 +10,10 @@ modelscope download --model microsoft/beit-base-patch16-224 README.md --local_di
```
2、使用Dockerfile生成镜像
从仓库的【软件包】栏目下载基础镜像 quay.io/ascend/vllm-ascend:v0.10.0rc1
从仓库的【软件包】栏目下载基础镜像 git.modelhub.org.cn:980/enginex-ascend/quay.io/ascend/vllm-ascend:v0.10.0rc1
使用 Dockerfile_ascend 生成 镜像
```python
docker build -f Dockerfile_ascend -t ascend-my:v1 .
docker build -f Dockerfile_ascend -t ascend-my:v3 .
```
注意 Dockerfile_ascend 中已预先将模型 microsoft_beit_base_patch16_224_pt22k_ft22k 放在了 /model 下面
@@ -35,7 +35,7 @@ docker run -it --rm \
-v /usr/local/Ascend/driver/version.info:/usr/local/Ascend/driver/version.info \
-v /etc/ascend_install.info:/etc/ascend_install.info \
--privileged \
ascend-my:v1
ascend-my:v3
```
4、测试服务