diff --git a/dlrm/1.0/22.03-lts-sp3/Dockerfile b/dlrm/1.0/22.03-lts-sp3/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..92694fa8e0e68cc826ed84d056e1f721d19c0ac4 --- /dev/null +++ b/dlrm/1.0/22.03-lts-sp3/Dockerfile @@ -0,0 +1,15 @@ +FROM openeuler/openeuler:22.03-lts-sp3 + +RUN yum install -y python3 python3-pip git + +RUN git clone https://gitee.com/ls39938477/dlrm.git /opt/dlrm + +RUN pip3 install --default-timeout=10000 -r /opt/dlrm/requirements.txt + +RUN pip3 install tensorboard + +RUN git clone https://gitee.com/ls39938477/logging.git mlperf-logging + +RUN pip3 install -e mlperf-logging + +WORKDIR /opt/dlrm diff --git a/dlrm/README.md b/dlrm/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a319b3c9f2b4ec5570fc05a4e18ec8f54a58405f --- /dev/null +++ b/dlrm/README.md @@ -0,0 +1,31 @@ +# dlrm + +# Quick reference + +- The official dlrm docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +# Build reference + +1. Build images and push: +```shell +docker buildx build -t "openeuler/dlrm:$TAG" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +2. Run: +```shell +docker run -itd --name dlrm openeuler/dlrm:$TAG +docker exec -it dlrm /bin/bash +``` + +# Supported tags and respective Dockerfile links + +- 1.0-oe2203sp3: dlrm v1.0, openEuler 22.03 LTS SP3 + +## Operating System +Linux/Unix, ARM64 or x86-64 architecture. diff --git a/dlrm/doc/image-info.yml b/dlrm/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..00a3ca0206279e8fff5b3e0277ac9087104482dd --- /dev/null +++ b/dlrm/doc/image-info.yml @@ -0,0 +1,59 @@ +name: dlrm +category: ai +description: Deep Learning Recommendation Model for Personalization and Recommendation Systems,Copyright (c) Facebook, Inc. and its affiliates。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + dlrm镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[1.0-oe2203sp3](https://gitee.com/openeuler/openeuler-docker-images/blob/master/dlrm/1.0/22.03-lts-sp3/Dockerfile)| dlrm 1.0 on openEuler 22.03-LTS-SP3 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/dlrm:{Tag} + ``` + +usage: | + - 启动容器 + ``` + docker run -itd --name dlrm openeuler/dlrm:{Tag} + ``` + 用户可根据自身需求选择对应版本的{Tag}、容器启动的选项。`dlrm`启动之后,通过`docker exec -it dlrm /bin/bash`进入容器的/opt/dlrm目录,就可以运行dlrm的代码。 + + + - 容器测试 + + 查看运行日志 + ``` + docker logs -f dlrm + ``` + + 使用shell交互 + ``` + docker exec -it dlrm /bin/bash + ``` + +license: MIT license +similar_packages: + - Neural Collaborative Filtering (NCF): 一个基于深度学习的开源项目,旨在实现更精确、更具智能的协同过滤推荐算法。 +dependency: + - python3 + - python3-pip + - mlperf-logging + - tensorboard + - future + - numpy + - onnx + - pydot + - torch + - torchviz + - scikit-learn + - tqdm + - torchrec-nightly + - torchx-nightly diff --git a/dlrm/doc/picture/logo.png b/dlrm/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..549c0e77b8941bb27fd0d3285da61eaf164c4968 Binary files /dev/null and b/dlrm/doc/picture/logo.png differ diff --git a/dlrm/meta.yml b/dlrm/meta.yml new file mode 100644 index 0000000000000000000000000000000000000000..07db36693748dbdb6f6670b3ae42f3ad4c85b168 --- /dev/null +++ b/dlrm/meta.yml @@ -0,0 +1,2 @@ +1.0-oe2203sp3: + dlrm/1.0/22.03-lts-sp3/Dockerfile