Unverified Commit e57c6e35 authored by Jinjing Zhou's avatar Jinjing Zhou Committed by GitHub
Browse files

[Fix] Fix lint resource usage & Fix Docs (#3032)

* fix

* remove nvidiasmi

* fix

* fix docs

* fix

* fix
parent 55e7796a
...@@ -506,7 +506,7 @@ def skip_if_not_4gpu(): ...@@ -506,7 +506,7 @@ def skip_if_not_4gpu():
def _wrapper(func): def _wrapper(func):
if GPU_COUNT != 4: if GPU_COUNT != 4:
# skip if not enabled # skip if not enabled
print("Skip {}".format(func.benchmark_name)) print("Skip {}".format(func.__name__))
func.benchmark_name = "skip_" + func.__name__ func.benchmark_name = "skip_" + func.__name__
return func return func
return _wrapper return _wrapper
......
...@@ -12,8 +12,6 @@ pip install --upgrade pip ...@@ -12,8 +12,6 @@ pip install --upgrade pip
pip install asv pip install asv
pip uninstall -y dgl pip uninstall -y dgl
nvidia-smi
export DGL_BENCH_DEVICE=$DEVICE export DGL_BENCH_DEVICE=$DEVICE
echo "DGL_BENCH_DEVICE=$DGL_BENCH_DEVICE" echo "DGL_BENCH_DEVICE=$DGL_BENCH_DEVICE"
pushd $ROOT/benchmarks pushd $ROOT/benchmarks
......
...@@ -10,5 +10,5 @@ spec: ...@@ -10,5 +10,5 @@ spec:
tty: true tty: true
resources: resources:
requests: requests:
cpu: 4 cpu: 1
serviceAccountName: dglciuser serviceAccountName: dglciuser
\ No newline at end of file
This diff is collapsed.
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