Skip to content

Commit

Permalink
Merge 386bc79 into d00b3cb
Browse files Browse the repository at this point in the history
  • Loading branch information
emcastillo committed Apr 1, 2020
2 parents d00b3cb + 386bc79 commit d57e18a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pfnci/run.sh
Expand Up @@ -27,7 +27,7 @@ find /chainer -name "*.pyc" -exec rm -f {} \;

TARGET="$1"
: "${GPU:=0}"
: "${XPYTEST_NUM_THREADS:=$(nproc)}"
: "${XPYTEST_NUM_THREADS:=4}"

# Use multi-process service to prevent GPU flakiness caused by running many
# processes on a GPU. Specifically, it seems running more than 16 processes
Expand Down Expand Up @@ -94,7 +94,7 @@ test_py37() {
fi
xpytest_args=(
--python=python3.7 -m "${marker}"
--bucket="${bucket}" --thread="$(( XPYTEST_NUM_THREADS / bucket ))"
--bucket="${bucket}" --thread="4"
--hint="/chainer/.pfnci/hint.pbtxt"
--retry=1
)
Expand Down Expand Up @@ -154,7 +154,7 @@ test_py27and35() {
fi
xpytest_args=(
--python=python3.5 -m "${marker}"
--bucket="${bucket}" --thread="$(( XPYTEST_NUM_THREADS / bucket ))"
--bucket="${bucket}" --thread="4"
--hint="/chainer/.pfnci/hint.pbtxt"
--retry=1
)
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/script.sh
Expand Up @@ -53,7 +53,7 @@ main() {
docker_args+=(--volume="${XPYTEST}:/usr/local/bin/xpytest:ro")
fi
docker_args+=(
--env="XPYTEST_NUM_THREADS=${XPYTEST_NUM_THREADS:-$(nproc)}")
--env="XPYTEST_NUM_THREADS=4")
if [ "${SPREADSHEET_ID:-}" != '' ]; then
docker_args+=(--env="SPREADSHEET_ID=${SPREADSHEET_ID}")
fi
Expand Down

0 comments on commit d57e18a

Please sign in to comment.