eaf421206d42537f956f46ba2945335d060e21ea,tools/nni_gpu_tool/gpu_metrics_collector.py,,main,#Any#,43
Before Change
except:
exception = sys.exc_info()
for e in exception:
print("job exporter error {}".format(e))
// TODO: change to sleep time configurable via arguments
time.sleep(5)
def parse_nvidia_smi_result(smi, outputDir):
After Change
if check_ready_to_run() == False:
// GPU metrics collector is already running. Exit
exit(2)
cmd = "nvidia-smi -q -x".split()
while(True):
try:
smi_output = subprocess.check_output(cmd)
except Exception:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: microsoft/nni
Commit Name: eaf421206d42537f956f46ba2945335d060e21ea
Time: 2019-08-11
Author: suiguoxin@gmail.com
File Name: tools/nni_gpu_tool/gpu_metrics_collector.py
Class Name:
Method Name: main
Project Name: ray-project/ray
Commit Name: 213d3894cafe27b0d2a252ff7f310118c4d4ff6e
Time: 2020-04-20
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/echo_pipeline.py
Class Name:
Method Name:
Project Name: microsoft/nni
Commit Name: 19173aa4370e36cba96ee7049eaaa0dceda5007c
Time: 2019-08-14
Author: suiguoxin@gmail.com
File Name: tools/nni_gpu_tool/gpu_metrics_collector.py
Class Name:
Method Name: main