"git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "a536772ed20220646f3a9404a5a5ce157aab8a91"
Unverified Commit 9abe0413 authored by Jinjing Zhou's avatar Jinjing Zhou Committed by GitHub
Browse files

[Test] asv conf fix (#1338)

* patch

* fix+1
parent f9ba3cdc
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
// uninstalling the project. See asv.conf.json documentation. // uninstalling the project. See asv.conf.json documentation.
// //
"install_command": [ "install_command": [
"in-dir={env_dir} python -c \"print('skip')\"" "in-dir={env_dir} python -m pip install numpy"
], ],
"build_command": [ "build_command": [
"python -c \"print('skip')\"" "python -c \"print('skip')\""
......
docker run --name dgl-reg --rm --hostname=reg-machine --runtime=nvidia \ docker run --name dgl-reg --rm --hostname=reg-machine --runtime=nvidia -dit dgllib/dgl-ci-gpu:conda /bin/bash
-v /home/ubuntu/asv_workspace:/root/regression \ docker cp /home/ubuntu/asv_data dgl-reg:/root/asv_data/
-it dgllib/dgl-ci-gpu:conda \ docker exec dgl-reg bash /root/asv_data/run.sh
/bin/bash /root/regression/dgl/tests/regression/run.sh docker cp dgl-reg:/root/regression/dgl/asv/. /home/ubuntu/asv_data/
\ No newline at end of file docker stop dgl-reg
\ No newline at end of file
. /opt/conda/etc/profile.d/conda.sh . /opt/conda/etc/profile.d/conda.sh
cd ~ cd ~
mkdir regression
cd regression cd regression
# git config core.filemode false
git clone --recursive https://github.com/dmlc/dgl.git
cd dgl cd dgl
# git clone --recursive https://github.com/dmlc/dgl.git mkdir asv
git pull cp -r ~/asv_data/* asv/
git submodule init
git submodule update --recursive
conda activate base conda activate base
pip install asv pip install --upgrade pip
pip install asv numpy
source /root/regression/dgl/tests/scripts/build_dgl.sh gpu source /root/regression/dgl/tests/scripts/build_dgl.sh gpu
......
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