File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ if [[ ${PLATFORM} == "darwin" ]]; then
3131 N_JOBS=$( sysctl -n hw.ncpu)
3232else
3333 N_JOBS=$( grep -c ^processor /proc/cpuinfo)
34- tools/ci_testing/install_py36.sh # Patch to test on py36
3534fi
3635
3736
@@ -40,7 +39,7 @@ echo "Bazel will use ${N_JOBS} concurrent job(s)."
4039echo " "
4140
4241export CC_OPT_FLAGS=' -mavx'
43- export TF_NEED_CUDA=0 # TODO: Verify this is used in GPU custom-op
42+ export TF_NEED_CUDA=0
4443
4544export PYTHON_BIN_PATH=` which python`
4645ls -alh $PYTHON_BIN_PATH
Original file line number Diff line number Diff line change 2525
2626set -x
2727
28- tools/ci_testing/install_py36.sh # Patch to test on py36
2928N_JOBS=1 # Must limit GPU testing to single job to prevent OOM error.
3029
3130echo " "
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ apt-get -y -qq update && apt-get -y -qq install python3.6
2525
2626python3.6 get-pip.py -q
2727python3.6 -m pip --version
28+ rm get-pip.py
2829
2930ln -sfn /usr/bin/python3.6 /usr/bin/python3
3031pip3 install scipy # Pre-installed in custom-op
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ if [[ -z "${COMMAND}" ]]; then
8888 exit 1
8989fi
9090
91- DOCKER_CMD=" ln -sf ${PYTHON_LIB} /usr/bin/python && ${COMMAND} "
91+ DOCKER_CMD=" tools/ci_testing/install_py36.sh && ln -sf ${PYTHON_LIB} /usr/bin/python && ${COMMAND} "
9292echo " Docker image: ${DOCKER_IMAGE} "
9393echo " Docker command: ${DOCKER_CMD} "
9494docker run ${DOCKER_OPTS} \
You can’t perform that action at this time.
0 commit comments