Unverified Commit b6f5ba9a authored by Songqing Zhang's avatar Songqing Zhang Committed by GitHub
Browse files

[Misc] Fix the directory of DGL_DOWNLOAD_DIR (#6048)

parent 61a4e039
......@@ -58,7 +58,7 @@ export DGLBACKEND=pytorch
export DGL_LIBRARY_PATH=${DGL_HOME}/build
export PYTHONPATH=${DGL_HOME}/python:${DGL_HOME}/tests:$PYTHONPATH
export DGLTESTDEV=${device}
export DGL_DOWNLOAD_DIR=${DGL_HOME}/build
export DGL_DOWNLOAD_DIR=${DGL_HOME}/_download
if [[ -z $@ ]]; then
echo "ERROR: Missing test targets."
......
......@@ -11,7 +11,7 @@ export DGLBACKEND=$1
export DGLTESTDEV=gpu
export DGL_LIBRARY_PATH=${PWD}/build
export PYTHONPATH=tests:${PWD}/python:$PYTHONPATH
export DGL_DOWNLOAD_DIR=${PWD}
export DGL_DOWNLOAD_DIR=${PWD}/_download
export TF_FORCE_GPU_ALLOW_GROWTH=true
export CUDA_VISIBLE_DEVICES=0
......
......@@ -23,7 +23,7 @@ export DGLBACKEND=$1
export DGLTESTDEV=$2
export DGL_LIBRARY_PATH=${PWD}/build
export PYTHONPATH=tests:${PWD}/python:$PYTHONPATH
export DGL_DOWNLOAD_DIR=${PWD}
export DGL_DOWNLOAD_DIR=${PWD}/_download
unset TORCH_ALLOW_TF32_CUBLAS_OVERRIDE
export CUDA_VISIBLE_DEVICES=-1
......
......@@ -20,7 +20,7 @@ CALL workon %BUILD_TAG%
SET DGLBACKEND=pytorch
SET DGL_LIBRARY_PATH=!CD!\build
SET PYTHONPATH=!CD!\python;!PYTHONPATH!
SET DGL_DOWNLOAD_DIR=!CD!
SET DGL_DOWNLOAD_DIR=!CD!\_download
python -m pytest -v --junitxml=pytest_backend.xml --durations=100 tests\examples || GOTO :FAIL
......
......@@ -32,7 +32,7 @@ fi
export DGLBACKEND=pytorch
export DGL_LIBRARY_PATH=${PWD}/build
export PYTHONPATH=${PWD}/python:$PYTHONPATH
export DGL_DOWNLOAD_DIR=${PWD}
export DGL_DOWNLOAD_DIR=${PWD}/_download
# test
......
......@@ -10,7 +10,7 @@ function fail {
export DGLBACKEND=pytorch
export DGL_LIBRARY_PATH=${PWD}/build
export PYTHONPATH=tests:${PWD}/python:$PYTHONPATH
export DGL_DOWNLOAD_DIR=${PWD}
export DGL_DOWNLOAD_DIR=${PWD}/_download
conda activate pytorch-ci
......
......@@ -14,7 +14,7 @@ export MPLBACKEND=Agg
export DGLBACKEND=pytorch
export DGL_LIBRARY_PATH=${PWD}/build
export PYTHONPATH=${PWD}/python:$PYTHONPATH
export DGL_DOWNLOAD_DIR=${PWD}
export DGL_DOWNLOAD_DIR=${PWD}/_download
pushd ${TUTORIAL_ROOT} > /dev/null
# Install requirements
......
......@@ -12,7 +12,7 @@ CALL workon %BUILD_TAG%
SET PYTHONPATH=tests;!CD!\python;!PYTHONPATH!
SET DGLBACKEND=!BACKEND!
SET DGL_LIBRARY_PATH=!CD!\build
SET DGL_DOWNLOAD_DIR=!CD!
SET DGL_DOWNLOAD_DIR=!CD!\_download
python -m pip install pytest psutil pandas pyyaml pydantic rdflib torchmetrics || EXIT /B 1
python -m pytest -v --junitxml=pytest_backend.xml --durations=100 tests\python\!DGLBACKEND! || EXIT /B 1
......
......@@ -20,7 +20,7 @@ export DGLBACKEND=$1
export DGLTESTDEV=$2
export DGL_LIBRARY_PATH=${PWD}/build
export PYTHONPATH=tests:${PWD}/python:$PYTHONPATH
export DGL_DOWNLOAD_DIR=${PWD}
export DGL_DOWNLOAD_DIR=${PWD}/_download
export TF_FORCE_GPU_ALLOW_GROWTH=true
unset TORCH_ALLOW_TF32_CUBLAS_OVERRIDE
......
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