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
e57c6e35
Unverified
Commit
e57c6e35
authored
Jun 18, 2021
by
Jinjing Zhou
Committed by
GitHub
Jun 18, 2021
Browse files
[Fix] Fix lint resource usage & Fix Docs (#3032)
* fix * remove nvidiasmi * fix * fix docs * fix * fix
parent
55e7796a
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
426 additions
and
363 deletions
+426
-363
benchmarks/benchmarks/utils.py
benchmarks/benchmarks/utils.py
+1
-1
benchmarks/run.sh
benchmarks/run.sh
+0
-2
docker/pods/ci-lint.yaml
docker/pods/ci-lint.yaml
+1
-1
tutorials/dist/1_node_classification.py
tutorials/dist/1_node_classification.py
+424
-359
No files found.
benchmarks/benchmarks/utils.py
View file @
e57c6e35
...
...
@@ -506,7 +506,7 @@ def skip_if_not_4gpu():
def
_wrapper
(
func
):
if
GPU_COUNT
!=
4
:
# skip if not enabled
print
(
"Skip {}"
.
format
(
func
.
benchmark
_name
))
print
(
"Skip {}"
.
format
(
func
.
_
_name
__
))
func
.
benchmark_name
=
"skip_"
+
func
.
__name__
return
func
return
_wrapper
...
...
benchmarks/run.sh
View file @
e57c6e35
...
...
@@ -12,8 +12,6 @@ pip install --upgrade pip
pip
install
asv
pip uninstall
-y
dgl
nvidia-smi
export
DGL_BENCH_DEVICE
=
$DEVICE
echo
"DGL_BENCH_DEVICE=
$DGL_BENCH_DEVICE
"
pushd
$ROOT
/benchmarks
...
...
docker/pods/ci-lint.yaml
View file @
e57c6e35
...
...
@@ -10,5 +10,5 @@ spec:
tty
:
true
resources
:
requests
:
cpu
:
4
cpu
:
1
serviceAccountName
:
dglciuser
\ No newline at end of file
tutorials/dist/1_node_classification.py
View file @
e57c6e35
This diff is collapsed.
Click to expand it.
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