Skip to content

Commit

Permalink
[sweeps] fix tt-smi util bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gfengTT committed Feb 25, 2025
1 parent 4e82e7d commit fb1375d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/sweep_framework/framework/tt_smi_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ def __init__(self, arch: str):
if smi_process.returncode == 0:
self.command = executable
self.args = args
break

if self.command is None:
raise Exception(f"SWEEPS: Unable to location tt-smi executable")
print(f"SWEEPS: tt-smi util initialized with command: {self.command}, args: {self.args}")
Expand Down

0 comments on commit fb1375d

Please sign in to comment.