update Dockerfile and Readme

This commit is contained in:
zhousha
2025-09-18 22:11:09 +08:00
parent be1375f031
commit 516bfc6f97
2 changed files with 2 additions and 1 deletions

View File

@@ -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
WORKDIR /workspace

View File

@@ -4,6 +4,7 @@
```shell
#构建docker镜像
docker build . -t metax_c500_translation
其中,基础镜像 maca-c500-pytorch:2.33.0.6-torch2.6-py310-ubuntu24.04-amd64 通过联系沐曦厂商技术支持可获取
#运行docker容器
docker run -it -p 10078:80 --device=/dev/mxcd --device=/dev/dri -e MODEL_TYPE=opus_mt -e MODEL_NAME=moxying/opus-mt-zh-en --name metax_c500_translation_test metax_c500_translation