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
9abe0413
Unverified
Commit
9abe0413
authored
Mar 09, 2020
by
Jinjing Zhou
Committed by
GitHub
Mar 09, 2020
Browse files
[Test] asv conf fix (#1338)
* patch * fix+1
parent
f9ba3cdc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
asv.conf.json
asv.conf.json
+1
-1
tests/regression/publish.sh
tests/regression/publish.sh
+5
-4
tests/regression/run.sh
tests/regression/run.sh
+7
-5
No files found.
asv.conf.json
View file @
9abe0413
...
...
@@ -17,7 +17,7 @@
//
uninstalling
the
project.
See
asv.conf.json
documentation.
//
"install_command"
:
[
"in-dir={env_dir} python -
c
\"
print('skip')
\"
"
"in-dir={env_dir} python -
m pip install numpy
"
],
"build_command"
:
[
"python -c
\"
print('skip')
\"
"
...
...
tests/regression/publish.sh
View file @
9abe0413
docker run
--name
dgl-reg
--rm
--hostname
=
reg-machine
--runtime
=
nvidia
\
-v
/home/ubuntu/asv_workspace:/root/regression
\
-it
dgllib/dgl-ci-gpu:conda
\
/bin/bash /root/regression/dgl/tests/regression/run.sh
\ No newline at end of file
docker run
--name
dgl-reg
--rm
--hostname
=
reg-machine
--runtime
=
nvidia
-dit
dgllib/dgl-ci-gpu:conda /bin/bash
docker
cp
/home/ubuntu/asv_data dgl-reg:/root/asv_data/
docker
exec
dgl-reg bash /root/asv_data/run.sh
docker
cp
dgl-reg:/root/regression/dgl/asv/. /home/ubuntu/asv_data/
docker stop dgl-reg
\ No newline at end of file
tests/regression/run.sh
View file @
9abe0413
.
/opt/conda/etc/profile.d/conda.sh
cd
~
mkdir
regression
cd
regression
# git config core.filemode false
git clone
--recursive
https://github.com/dmlc/dgl.git
cd
dgl
# git clone --recursive https://github.com/dmlc/dgl.git
git pull
git submodule init
git submodule update
--recursive
mkdir
asv
cp
-r
~/asv_data/
*
asv/
conda activate base
pip
install
asv
pip
install
--upgrade
pip
pip
install
asv numpy
source
/root/regression/dgl/tests/scripts/build_dgl.sh gpu
...
...
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