This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
76 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,79 @@ | ||
configs { | ||
key: "chainercv" | ||
key: "chainercv.py2.chainer-stable" | ||
value { | ||
requirement { | ||
cpu: 4 | ||
memory: 16 | ||
gpu: 2 | ||
} | ||
command: | ||
"docker run --runtime=nvidia --rm --volume $(realpath .):/mnt hakuyume/chainercv:chainer5.2.0-devel " | ||
"sh -ec \"pip3 install --user -e /mnt; mpiexec -n 2 --allow-run-as-root python3 -m pytest -m 'not slow' /mnt/tests\"" | ||
command: "sh .chainerci/tests.sh" | ||
environment_variables { | ||
key: "PYTHON" | ||
value: "2" | ||
} | ||
environment_variables { | ||
key: "CHAINER" | ||
value: "5.2.0" | ||
} | ||
} | ||
} | ||
|
||
configs { | ||
key: "chainercv.py3.chainer-stable" | ||
value { | ||
requirement { | ||
cpu: 4 | ||
memory: 16 | ||
gpu: 2 | ||
} | ||
command: "sh .chainerci/tests.sh" | ||
environment_variables { | ||
key: "PYTHON" | ||
value: "3" | ||
} | ||
environment_variables { | ||
key: "CHAINER" | ||
value: "5.2.0" | ||
} | ||
} | ||
} | ||
|
||
configs { | ||
key: "chainercv.py2.chainer-latest" | ||
value { | ||
requirement { | ||
cpu: 4 | ||
memory: 16 | ||
gpu: 2 | ||
} | ||
command: "sh .chainerci/tests.sh" | ||
environment_variables { | ||
key: "PYTHON" | ||
value: "2" | ||
} | ||
environment_variables { | ||
key: "CHAINER" | ||
value: "6.0.0b2" | ||
} | ||
} | ||
} | ||
|
||
configs { | ||
key: "chainercv.py3.chainer-latest" | ||
value { | ||
requirement { | ||
cpu: 4 | ||
memory: 16 | ||
gpu: 2 | ||
} | ||
command: "sh .chainerci/tests.sh" | ||
environment_variables { | ||
key: "PYTHON" | ||
value: "3" | ||
} | ||
environment_variables { | ||
key: "CHAINER" | ||
value: "6.0.0b2" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#! /usr/bin/env sh | ||
set -eu | ||
|
||
docker run --runtime=nvidia --rm --volume $(realpath .):/mnt \ | ||
hakuyume/chainercv:chainer${CHAINER}-devel \ | ||
sh -ec "pip${PYTHON} install --user -e /mnt; mpiexec -n 2 --allow-run-as-root python${PYTHON} -m pytest -m 'not slow' /mnt/tests" |