From d74bb522891a60f1ccbcde5381bc731d6f70b8dc Mon Sep 17 00:00:00 2001 From: Marcin Zablocki Date: Thu, 16 Jan 2025 11:59:19 -0800 Subject: [PATCH] Show no GPU information --- monitor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index 4fb4d63..8cf7d36 100644 --- a/monitor.py +++ b/monitor.py @@ -138,7 +138,7 @@ def make_layout() -> Layout: else: layout.split( Layout(name="header", size=3), - Layout(name="gpu", size=2), + Layout(name="gpu", size=4), Layout(name="main") ) @@ -264,6 +264,7 @@ def gpu_table() -> Table: if deviceCount == 0: table.add_row("No GPUs FOUND", "N/A", "N/A", "N/A") + return table layout = make_layout()