update Dockerfile and Readme
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
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user