update Dockerfile
This commit is contained in:
@@ -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
|
RUN if [ ! -d "/torch/venv3/pytorch" ]; then echo "虚拟环境路径缺失!"; exit 1; fi
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ modelscope download --model microsoft/beit-base-patch16-224 README.md --local_di
|
|||||||
```python
|
```python
|
||||||
docker build -f Dockerfile_mlu370 -t combricon-mlu370x4-base-zhoushasha:v4.0 .
|
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 下面
|
注意 Dockerfile_mlu370 中已预先将模型 microsoft_beit_base_patch16_224_pt22k_ft22k 放在了 /model 下面
|
||||||
|
|
||||||
3、启动docker
|
3、启动docker
|
||||||
|
|||||||
Reference in New Issue
Block a user