Commit 46ed308b authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
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 {}
raise RuntimeError("Cannot parse the output of GPU count query", data[i])
Supports Markdown
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