Skip to content

Commit

Permalink
suppress stderr in describe_tpu since it usually logs a dumb error (#710
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dlwh authored Aug 28, 2024
1 parent 0c628d5 commit 97358f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/levanter/infra/tpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def describe_tpu(tpu_name, zone):
tpu_name,
f"--zone={zone}",
"--format=json(name.basename(), state)",
]
],
stderr=subprocess.DEVNULL,
)
)
except subprocess.CalledProcessError:
Expand Down

0 comments on commit 97358f9

Please sign in to comment.