update for ascend

This commit is contained in:
zhousha
2025-09-09 14:45:30 +08:00
parent 16a28b4778
commit c512f7d43d
11 changed files with 43467 additions and 0 deletions

17
Dockerfile_ascend Normal file
View File

@@ -0,0 +1,17 @@
FROM 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"]