Commit 46ed308b authored by akhuziy's avatar akhuziy
Browse files

return empty result in aggregator if no GPUs were used

parent e4a80467
......@@ -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])
......
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