update Dockerfile
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM git.modelhub.org.cn:9443/enginex-metax/maca-c500-pytorch:2.33.0.6-torch2.6-py310-ubuntu24.04-amd64
|
FROM maca-c500-pytorch:2.33.0.6-torch2.6-py310-ubuntu24.04-amd64
|
||||||
|
|
||||||
ENV HF_ENDPOINT=https://hf-mirror.com
|
ENV HF_ENDPOINT=https://hf-mirror.com
|
||||||
ENV PATH=/opt/conda/bin:${PATH}
|
ENV PATH=/opt/conda/bin:${PATH}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
```shell
|
```shell
|
||||||
#构建docker镜像
|
#构建docker镜像
|
||||||
docker build . -t metax_c500_vl
|
docker build . -t metax_c500_vl
|
||||||
|
其中基础镜像 maca-c500-pytorch:2.33.0.6-torch2.6-py310-ubuntu24.04-amd64 通过联系沐曦厂商技术支持可获取
|
||||||
|
|
||||||
#运行docker容器
|
#运行docker容器
|
||||||
docker run -it -p 10055:8000 --device=/dev/mxcd --device=/dev/dri -v /home/aiyueqi/mnt/models/vlm/MiniCPM-V-4:/model:ro --name metax_c500_vl_test metax_c500_vl
|
docker run -it -p 10055:8000 --device=/dev/mxcd --device=/dev/dri -v /home/aiyueqi/mnt/models/vlm/MiniCPM-V-4:/model:ro --name metax_c500_vl_test metax_c500_vl
|
||||||
|
|||||||
Reference in New Issue
Block a user