run.sh 328 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e

DEVICE=$1
ROOT=/asv/dgl

. /opt/conda/etc/profile.d/conda.sh

conda activate base
pip install --upgrade pip
pip install asv
pip uninstall -y dgl

export DGL_BENCH_DEVICE=$DEVICE
16
echo "DGL_BENCH_DEVICE=$DGL_BENCH_DEVICE"
17
18
19
pushd $ROOT/benchmarks
cat asv.conf.json
asv machine --yes
20
asv run -e
21
22
asv publish
popd