"docs/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "66a67d2efbab894196a733426b05f2b08da6fd79"
Commit 8d3c5820 authored by Rhett Ying's avatar Rhett Ying Committed by RhettYing
Browse files

[CI] upgrade python version to 3.7.0 (#4406)

* [CI] upgrade python version to 3.7.0

* do not upgrade for mxnet cpu due to seg fault

* fix test failure for mxnet
parent e9b624fe
......@@ -222,7 +222,7 @@ pipeline {
agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:cu101_v220629"
image "dgllib/dgl-ci-cpu:v220816"
args "-u root"
alwaysPull true
}
......@@ -240,7 +240,7 @@ pipeline {
agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-gpu:cu101_v220629"
image "dgllib/dgl-ci-gpu:cu101_v220816"
args "-u root"
alwaysPull true
}
......@@ -295,7 +295,7 @@ pipeline {
agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:cu101_v220629"
image "dgllib/dgl-ci-cpu:v220816"
alwaysPull true
}
}
......@@ -312,7 +312,7 @@ pipeline {
agent {
docker {
label "linux-gpu-node"
image "dgllib/dgl-ci-gpu:cu101_v220629"
image "dgllib/dgl-ci-gpu:cu101_v220816"
args "--runtime nvidia"
alwaysPull true
}
......@@ -341,7 +341,7 @@ pipeline {
agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:cu101_v220629"
image "dgllib/dgl-ci-cpu:v220816"
alwaysPull true
}
}
......@@ -362,7 +362,7 @@ pipeline {
agent {
docker {
label "linux-gpu-node"
image "dgllib/dgl-ci-gpu:cu101_v220629"
image "dgllib/dgl-ci-gpu:cu101_v220816"
args "--runtime nvidia"
alwaysPull true
}
......@@ -384,7 +384,7 @@ pipeline {
agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:cu101_v220629"
image "dgllib/dgl-ci-cpu:v220816"
args "--shm-size=4gb"
alwaysPull true
}
......@@ -436,7 +436,7 @@ pipeline {
agent {
docker {
label "linux-gpu-node"
image "dgllib/dgl-ci-gpu:cu101_v220629"
image "dgllib/dgl-ci-gpu:cu101_v220816"
args "--runtime nvidia --shm-size=8gb"
alwaysPull true
}
......@@ -464,7 +464,7 @@ pipeline {
agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:cu101_v220629"
image "dgllib/dgl-ci-cpu:v220816"
args "--shm-size=4gb"
alwaysPull true
}
......@@ -530,7 +530,7 @@ pipeline {
agent {
docker {
label "linux-gpu-node"
image "dgllib/dgl-ci-gpu:cu101_v220629"
image "dgllib/dgl-ci-gpu:cu101_v220816"
args "--runtime nvidia"
alwaysPull true
}
......@@ -553,7 +553,7 @@ pipeline {
agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:cu101_v220629"
image "dgllib/dgl-ci-cpu:v220816"
alwaysPull true
}
}
......
name: mxnet-ci
dependencies:
- python=3.6.9
- python=3.7.0
- pip
- pip:
- mxnet==1.6.0
......
name: mxnet-ci
dependencies:
- python=3.6.9
- python=3.7.0
- pip
- pip:
- mxnet-cu101==1.7.0
......
name: tensorflow-ci
dependencies:
- python=3.6.9
- python=3.7.0
- pip
- pip:
- tensorflow==2.3.0
......
name: tensorflow-ci
dependencies:
- python=3.6.9
- python=3.7.0
- pip
- pip:
- tensorflow==2.3.0
......
name: pytorch-ci
dependencies:
- python=3.6.9
- python=3.7.0
- pip
- pip:
- --find-links https://download.pytorch.org/whl/torch_stable.html
......
name: pytorch-ci
dependencies:
- python=3.6.9
- python=3.7.0
- pip
- pip:
- --find-links https://download.pytorch.org/whl/torch_stable.html
......
......@@ -34,5 +34,10 @@ fi
conda activate ${DGLBACKEND}-ci
python3 -m pip install pytest psutil pyyaml pydantic pandas rdflib ogb || fail "pip install"
python3 -m pytest -v --junitxml=pytest_compute.xml --durations=100 tests/compute || fail "compute"
if [ $DGLBACKEND == "mxnet" ]
then
python3 -m pytest -v --junitxml=pytest_compute.xml --durations=100 --ignore=tests/compute/test_ffi.py tests/compute || fail "compute"
else
python3 -m pytest -v --junitxml=pytest_compute.xml --durations=100 tests/compute || fail "compute"
fi
python3 -m pytest -v --junitxml=pytest_backend.xml --durations=100 tests/$DGLBACKEND || fail "backend-specific"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment