Files
enginex-ascend-910-vc/Dockerfile_ascend
2025-09-09 15:29:43 +08:00

18 lines
422 B
Plaintext

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/
COPY ./microsoft_beit_base_patch16_224_pt22k_ft22k /model
# 安装transformers 4.46.3
RUN python3 -m pip install --no-cache-dir transformers==4.46.3
RUN python3 -m pip install flask==3.1.1
EXPOSE 80
ENTRYPOINT ["python3", "model_test_caltech_http_ascend.py"]