This repository was archived by the owner on Jan 26, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +44
-6
lines changed
Expand file tree Collapse file tree 3 files changed +44
-6
lines changed Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ defaults :
4+ run :
5+ shell : bash
6+
7+ jobs :
8+ build_and_test :
9+ name : building and testing ddptensor
10+ container :
11+ image : amr-registry-pre.caas.intel.com/tpi/ddpt
12+ options : --device=/dev/dri --shm-size=3000M
13+ strategy :
14+ fail-fast : false
15+ steps :
16+ - name : Setup
17+ run : conda activate ddpt
18+ - name : Checkout ddptensor
19+ uses : actions/checkout@v2
20+ - name : Build dpptensor
21+ run : |
22+ g++ -v
23+ CMAKE_BUILD_PARALLEL_LEVEL=8 python setup.py develop
24+ - name : Run tests
25+ run : |
26+ pytest test
27+ DDPT_CW=0 pytest test
28+ DDPT_CW=1 pytest test
29+ DDPT_MPI_SPAWN=1 PYTHON_EXE=`which python` pytest test
30+ DDPT_MPI_SPAWN=2 PYTHON_EXE=`which python` pytest test
31+ DDPT_MPI_SPAWN=3 PYTHON_EXE=`which python` pytest test
32+ DDPT_CW=1 mpirun -n 1 python -m pytest test
33+ DDPT_CW=1 mpirun -n 2 python -m pytest test
34+ DDPT_CW=1 mpirun -n 3 python -m pytest test
35+ DDPT_CW=1 mpirun -n 4 python -m pytest test
36+ DDPT_CW=0 mpirun -n 1 python -m pytest test
37+ DDPT_CW=0 mpirun -n 2 python -m pytest test
38+ DDPT_CW=0 mpirun -n 3 python -m pytest test
39+ DDPT_CW=0 mpirun -n 4 python -m pytest test
Original file line number Diff line number Diff line change 22# are last
33FROM ubuntu:20.04
44
5- # Proxies for working inside firewall
6- ENV no_proxy=.intel.com
7- ENV https_proxy=http://proxy-chain.intel.com:912
8- ENV http_proxy=http://proxy-chain.intel.com:911
9- ENV ftp_proxy=http://proxy-chain.intel.com:911
10-
115RUN export DEBIAN_FRONTEND=noninteractive \
126 && apt-get update \
137 && apt-get install -y --no-install-recommends g++ gcc wget \
Original file line number Diff line number Diff line change 1+ IMAGE = amr-registry-pre.caas.intel.com/tpi/ddpt:latest
2+
3+ all :
4+ docker build --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${https_proxy} --tag ${IMAGE} .
5+ docker push ${IMAGE}
You can’t perform that action at this time.
0 commit comments