update Dockerfile

This commit is contained in:
zhousha
2025-09-19 11:03:36 +08:00
parent 4f1aea463b
commit 6bae0160d3
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
FROM harbor.4pd.io/mic-llm-x/combricon-mlu370x4-base:v0.2.0-tgiv1.4.3-btv0.6.0-pt2.1-x86_64-ubuntu22.04-py310
FROM combricon-mlu370x4-base:v0.2.0-tgiv1.4.3-btv0.6.0-pt2.1-x86_64-ubuntu22.04-py310
RUN if [ ! -d "/torch/venv3/pytorch" ]; then echo "虚拟环境路径缺失!"; exit 1; fi

View File

@@ -15,6 +15,7 @@ modelscope download --model microsoft/beit-base-patch16-224 README.md --local_di
```python
docker build -f Dockerfile_mlu370 -t combricon-mlu370x4-base-zhoushasha:v4.0 .
```
其中基础镜像 combricon-mlu370x4-base:v0.2.0-tgiv1.4.3-btv0.6.0-pt2.1-x86_64-ubuntu22.04-py310 联系寒武纪厂商技术支持可获取
注意 Dockerfile_mlu370 中已预先将模型 microsoft_beit_base_patch16_224_pt22k_ft22k 放在了 /model 下面
3、启动docker