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
nni
Commits
602e1842
Commit
602e1842
authored
Sep 25, 2020
by
huchen
Browse files
Merge branch 'xuan_dev' into 'develop'
DTK-203 See merge request dcutoolkit/deeplearing/NNI!3
parents
fefee175
30ac210e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/nni_trial_tool/gpu.py
tools/nni_trial_tool/gpu.py
+1
-1
No files found.
tools/nni_trial_tool/gpu.py
View file @
602e1842
...
@@ -31,7 +31,7 @@ def parse_nvidia_smi_result(smi):
...
@@ -31,7 +31,7 @@ def parse_nvidia_smi_result(smi):
output
[
"gpuInfos"
]
=
[]
output
[
"gpuInfos"
]
=
[]
for
gpuIndex
,
gpu
in
enumerate
(
gpuList
):
for
gpuIndex
,
gpu
in
enumerate
(
gpuList
):
if
gpu
==
'system'
:
if
gpu
==
'system'
:
break
continue
gpuInfo
=
{}
gpuInfo
=
{}
gpuInfo
[
'index'
]
=
gpuIndex
gpuInfo
[
'index'
]
=
gpuIndex
gpuInfo
[
'gpuUtil'
]
=
smi
[
gpu
][
"GPU OverDrive value (%)"
]
gpuInfo
[
'gpuUtil'
]
=
smi
[
gpu
][
"GPU OverDrive value (%)"
]
...
...
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