Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
b6f5ba9a
Unverified
Commit
b6f5ba9a
authored
Jul 28, 2023
by
Songqing Zhang
Committed by
GitHub
Jul 28, 2023
Browse files
[Misc] Fix the directory of DGL_DOWNLOAD_DIR (#6048)
parent
61a4e039
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
9 deletions
+9
-9
script/run_pytest.sh
script/run_pytest.sh
+1
-1
tests/scripts/cugraph_unit_test.sh
tests/scripts/cugraph_unit_test.sh
+1
-1
tests/scripts/task_distributed_test.sh
tests/scripts/task_distributed_test.sh
+1
-1
tests/scripts/task_example_test.bat
tests/scripts/task_example_test.bat
+1
-1
tests/scripts/task_example_test.sh
tests/scripts/task_example_test.sh
+1
-1
tests/scripts/task_go_test.sh
tests/scripts/task_go_test.sh
+1
-1
tests/scripts/task_pytorch_tutorial_test.sh
tests/scripts/task_pytorch_tutorial_test.sh
+1
-1
tests/scripts/task_unit_test.bat
tests/scripts/task_unit_test.bat
+1
-1
tests/scripts/task_unit_test.sh
tests/scripts/task_unit_test.sh
+1
-1
No files found.
script/run_pytest.sh
View file @
b6f5ba9a
...
@@ -58,7 +58,7 @@ export DGLBACKEND=pytorch
...
@@ -58,7 +58,7 @@ export DGLBACKEND=pytorch
export
DGL_LIBRARY_PATH
=
${
DGL_HOME
}
/build
export
DGL_LIBRARY_PATH
=
${
DGL_HOME
}
/build
export
PYTHONPATH
=
${
DGL_HOME
}
/python:
${
DGL_HOME
}
/tests:
$PYTHONPATH
export
PYTHONPATH
=
${
DGL_HOME
}
/python:
${
DGL_HOME
}
/tests:
$PYTHONPATH
export
DGLTESTDEV
=
${
device
}
export
DGLTESTDEV
=
${
device
}
export
DGL_DOWNLOAD_DIR
=
${
DGL_HOME
}
/
buil
d
export
DGL_DOWNLOAD_DIR
=
${
DGL_HOME
}
/
_downloa
d
if
[[
-z
$@
]]
;
then
if
[[
-z
$@
]]
;
then
echo
"ERROR: Missing test targets."
echo
"ERROR: Missing test targets."
...
...
tests/scripts/cugraph_unit_test.sh
View file @
b6f5ba9a
...
@@ -11,7 +11,7 @@ export DGLBACKEND=$1
...
@@ -11,7 +11,7 @@ export DGLBACKEND=$1
export
DGLTESTDEV
=
gpu
export
DGLTESTDEV
=
gpu
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
PYTHONPATH
=
tests:
${
PWD
}
/python:
$PYTHONPATH
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
TF_FORCE_GPU_ALLOW_GROWTH
=
true
export
CUDA_VISIBLE_DEVICES
=
0
export
CUDA_VISIBLE_DEVICES
=
0
...
...
tests/scripts/task_distributed_test.sh
View file @
b6f5ba9a
...
@@ -23,7 +23,7 @@ export DGLBACKEND=$1
...
@@ -23,7 +23,7 @@ export DGLBACKEND=$1
export
DGLTESTDEV
=
$2
export
DGLTESTDEV
=
$2
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
PYTHONPATH
=
tests:
${
PWD
}
/python:
$PYTHONPATH
export
PYTHONPATH
=
tests:
${
PWD
}
/python:
$PYTHONPATH
export
DGL_DOWNLOAD_DIR
=
${
PWD
}
export
DGL_DOWNLOAD_DIR
=
${
PWD
}
/_download
unset
TORCH_ALLOW_TF32_CUBLAS_OVERRIDE
unset
TORCH_ALLOW_TF32_CUBLAS_OVERRIDE
export
CUDA_VISIBLE_DEVICES
=
-1
export
CUDA_VISIBLE_DEVICES
=
-1
...
...
tests/scripts/task_example_test.bat
View file @
b6f5ba9a
...
@@ -20,7 +20,7 @@ CALL workon %BUILD_TAG%
...
@@ -20,7 +20,7 @@ CALL workon %BUILD_TAG%
SET
DGLBACKEND
=
pytorch
SET
DGLBACKEND
=
pytorch
SET
DGL_LIBRARY_PATH
=
!CD!
\build
SET
DGL_LIBRARY_PATH
=
!CD!
\build
SET
PYTHONPATH
=
!CD!
\python
;
!PYTHONPATH!
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
python
-m
pytest
-v --junitxml
=
pytest_backend
.xml
--durations
=
100
tests
\examples
||
GOTO
:FAIL
...
...
tests/scripts/task_example_test.sh
View file @
b6f5ba9a
...
@@ -32,7 +32,7 @@ fi
...
@@ -32,7 +32,7 @@ fi
export
DGLBACKEND
=
pytorch
export
DGLBACKEND
=
pytorch
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
PYTHONPATH
=
${
PWD
}
/python:
$PYTHONPATH
export
PYTHONPATH
=
${
PWD
}
/python:
$PYTHONPATH
export
DGL_DOWNLOAD_DIR
=
${
PWD
}
export
DGL_DOWNLOAD_DIR
=
${
PWD
}
/_download
# test
# test
...
...
tests/scripts/task_go_test.sh
View file @
b6f5ba9a
...
@@ -10,7 +10,7 @@ function fail {
...
@@ -10,7 +10,7 @@ function fail {
export
DGLBACKEND
=
pytorch
export
DGLBACKEND
=
pytorch
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
PYTHONPATH
=
tests:
${
PWD
}
/python:
$PYTHONPATH
export
PYTHONPATH
=
tests:
${
PWD
}
/python:
$PYTHONPATH
export
DGL_DOWNLOAD_DIR
=
${
PWD
}
export
DGL_DOWNLOAD_DIR
=
${
PWD
}
/_download
conda activate pytorch-ci
conda activate pytorch-ci
...
...
tests/scripts/task_pytorch_tutorial_test.sh
View file @
b6f5ba9a
...
@@ -14,7 +14,7 @@ export MPLBACKEND=Agg
...
@@ -14,7 +14,7 @@ export MPLBACKEND=Agg
export
DGLBACKEND
=
pytorch
export
DGLBACKEND
=
pytorch
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
PYTHONPATH
=
${
PWD
}
/python:
$PYTHONPATH
export
PYTHONPATH
=
${
PWD
}
/python:
$PYTHONPATH
export
DGL_DOWNLOAD_DIR
=
${
PWD
}
export
DGL_DOWNLOAD_DIR
=
${
PWD
}
/_download
pushd
${
TUTORIAL_ROOT
}
>
/dev/null
pushd
${
TUTORIAL_ROOT
}
>
/dev/null
# Install requirements
# Install requirements
...
...
tests/scripts/task_unit_test.bat
View file @
b6f5ba9a
...
@@ -12,7 +12,7 @@ CALL workon %BUILD_TAG%
...
@@ -12,7 +12,7 @@ CALL workon %BUILD_TAG%
SET
PYTHONPATH
=
tests
;
!CD!
\python
;
!PYTHONPATH!
SET
PYTHONPATH
=
tests
;
!CD!
\python
;
!PYTHONPATH!
SET
DGLBACKEND
=
!BACKEND!
SET
DGLBACKEND
=
!BACKEND!
SET
DGL_LIBRARY_PATH
=
!CD!
\build
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
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
python
-m
pytest
-v --junitxml
=
pytest_backend
.xml
--durations
=
100
tests
\python\
!DGLBACKEND!
||
EXIT
/B
1
...
...
tests/scripts/task_unit_test.sh
View file @
b6f5ba9a
...
@@ -20,7 +20,7 @@ export DGLBACKEND=$1
...
@@ -20,7 +20,7 @@ export DGLBACKEND=$1
export
DGLTESTDEV
=
$2
export
DGLTESTDEV
=
$2
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
DGL_LIBRARY_PATH
=
${
PWD
}
/build
export
PYTHONPATH
=
tests:
${
PWD
}
/python:
$PYTHONPATH
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
TF_FORCE_GPU_ALLOW_GROWTH
=
true
unset
TORCH_ALLOW_TF32_CUBLAS_OVERRIDE
unset
TORCH_ALLOW_TF32_CUBLAS_OVERRIDE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment