Commit 586719b1 authored by Alexandre Boyer's avatar Alexandre Boyer
Browse files

new attempt to fix monitor

parent d4ac5e1d
......@@ -106,7 +106,7 @@ class Monitor():
# Try to retrieve the main_process
process = psutil.Process(self.main_process_pid)
process = psutil.Process(
# Load the NVIDIA handler
with NvmlHandler() as nvml_h:
......@@ -131,4 +131,4 @@ class Monitor():
except Exception as e:
logger.warning(e)'PID {} not available for monitoring'.format(self.main_process_pid))'PID {} not available for monitoring'.format(
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