From 57623d88d1bc14f77f0e0eedbebd6bebc07fcded Mon Sep 17 00:00:00 2001 From: zhousha <736730048@qq.com> Date: Fri, 19 Sep 2025 10:48:21 +0800 Subject: [PATCH] update Dockerfile --- Dockerfile | 2 +- README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 245c2a5..d53c466 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM git.modelhub.org.cn:9443/enginex-cambricon/mlu370-pytorch:v25.01-torch2.5.0-torchmlu1.24.1-ubuntu22.04-py310 +FROM mlu370-pytorch:v25.01-torch2.5.0-torchmlu1.24.1-ubuntu22.04-py310 WORKDIR /workspace diff --git a/README.md b/README.md index c66025b..4ca3b06 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ ```shell #构建docker镜像 docker build . -t mlu370_translation +其中基础镜像 mlu370-pytorch:v25.01-torch2.5.0-torchmlu1.24.1-ubuntu22.04-py310 联系寒武纪厂商技术支持可获取 #运行docker容器 docker run -it -p 10078:80 --device=/dev/cambricon_dev0:/dev/cambricon_dev0 --device=/dev/cambricon_ctl --device=/dev/cambricon_ipcm0:/dev/cambricon_ipcm0 -e MODEL_TYPE=opus_mt -e MODEL_NAME=moxying/opus-mt-zh-en --name mlu370_translation_test mlu370_translation