diff --git a/Dockerfile_ascend b/Dockerfile_ascend index 6a6a12e..780f25f 100644 --- a/Dockerfile_ascend +++ b/Dockerfile_ascend @@ -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/ diff --git a/README.md b/README.md index 73ae96b..c96ce47 100644 --- a/README.md +++ b/README.md @@ -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、测试服务