Skip to content

Commit

Permalink
Show no GPU information
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinZablocki committed Jan 16, 2025
1 parent 0c245e7 commit d74bb52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)

Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit d74bb52

Please sign in to comment.