Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProfiT-HPC
aggregator
Commits
46ed308b
Commit
46ed308b
authored
Jan 13, 2020
by
Azat Khuziyakhmetov
Browse files
return empty result in aggregator if no GPUs were used
parent
e4a80467
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/influx/influxdb_fetchgpu.py
View file @
46ed308b
...
...
@@ -152,6 +152,7 @@ def parse_gpu_used(data):
if
"statement_id"
in
data
[
0
]:
if
conf
.
DEBUG
:
print
(
"Could not execute query to get used GPUs"
,
queries
[
sid
])
return
{}
else
:
raise
RuntimeError
(
"Cannot parse the output of GPU count query"
,
data
[
i
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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