项目文件夹

文件
Minjie Wang d876680a36 [Model][Perf] Improve sage sampling performance (#1364)
* improve speed

* fix bugs

* upd reg test
2020-03-15 23:20:30 +08:00

34 行
522 B
Bash

#!/bin/bash
set -e
if [ $# -ne 2 ]; then
echo "run.sh <repo> <branch>"
exit 1
fi
REPO=$1
BRANCH=$2
. /opt/conda/etc/profile.d/conda.sh
cd ~
mkdir regression
cd regression
# git config core.filemode false
git clone --recursive https://github.com/$REPO/dgl.git
git checkout $BRANCH
cd dgl
mkdir asv
cp -r ~/asv_data/* asv/
conda activate base
pip install --upgrade pip
pip install asv numpy
source /root/regression/dgl/tests/scripts/build_dgl.sh gpu
conda activate base
asv machine --yes
asv run
asv publish