Skip to content

Commit

Permalink
#682: bug fix for enabling metal tests in performance mode in ttrt (#683
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tapspatel authored Sep 13, 2024
1 parent 0153683 commit d9b8485
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions runtime/tools/python/ttrt/common/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1396,11 +1396,13 @@ def signal_handler(sig, frame):

save_perf_artifacts(self.artifacts.get_binary_perf_folder_path(bin))

if len(self.ttnn_binaries) != 0:
_execute(self.ttnn_binaries)
self.logging.debug(f"executing ttnn binaries")
_execute(self.ttnn_binaries)
self.logging.debug(f"finished executing ttnn binaries")

if len(self.ttmetal_binaries) != 0:
_execute(self.ttnn_binaries)
self.logging.debug(f"executing ttmetal binaries")
_execute(self.ttmetal_binaries)
self.logging.debug(f"finished executing ttmetal binaries")

self.logging.debug(f"finished executing perf API")

Expand Down

0 comments on commit d9b8485

Please sign in to comment.