Skip to content

Commit

Permalink
#785: Added quiet options for suppressing system desc output in ttrt …
Browse files Browse the repository at this point in the history
…apis, ttrt apis returncode 1 upong arg parsing failure and removed non-zero check from perf CI for ttrt runs (#786)
  • Loading branch information
tapspatel authored Sep 20, 2024
1 parent 78a87d9 commit 8b9f3c8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ jobs:
matrix:
build: [
{runs-on: n150, enable_perf: OFF, name: "run", ttrt_flags: "--non-zero"},
{runs-on: n150, enable_perf: ON, name: "perf", ttrt_flags: "--non-zero"},
{runs-on: n150, enable_perf: ON, name: "perf"},
{runs-on: n300, enable_perf: OFF, name: "run", ttrt_flags: "--non-zero"},
{runs-on: n300, enable_perf: ON, name: "perf", ttrt_flags: "--non-zero"},
{runs-on: n300, enable_perf: ON, name: "perf"},
]

runs-on:
Expand Down
2 changes: 1 addition & 1 deletion runtime/tools/python/ttrt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main():
args = parser.parse_args()
except:
parser.print_help()
return
return 1

request_api = args.api(args)
request_api()
Expand Down
2 changes: 1 addition & 1 deletion runtime/tools/python/ttrt/common/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __init__(self, args={}, logger=None, artifacts=None):
artifacts_folder_path=self["--artifact-dir"],
)
)
self.query = Query({}, self.logger, self.artifacts)
self.query = Query({"--quiet": True}, self.logger, self.artifacts)
self.ttnn_binaries = []
self.ttmetal_binaries = []
self.system_desc_binaries = []
Expand Down
2 changes: 1 addition & 1 deletion runtime/tools/python/ttrt/common/perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def __init__(self, args={}, logger=None, artifacts=None):
artifacts_folder_path=self["--artifact-dir"],
)
)
self.query = Query({}, self.logger, self.artifacts)
self.query = Query({"--quiet": True}, self.logger, self.artifacts)
self.ttnn_binaries = []
self.ttmetal_binaries = []
self.tracy_capture_tool_path = (
Expand Down
2 changes: 1 addition & 1 deletion runtime/tools/python/ttrt/common/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def __init__(self, args={}, logger=None, artifacts=None):
artifacts_folder_path=self["--artifact-dir"],
)
)
self.query = Query({}, self.logger, self.artifacts)
self.query = Query({"--quiet": True}, self.logger, self.artifacts)
self.ttnn_binaries = []
self.ttmetal_binaries = []

Expand Down

0 comments on commit 8b9f3c8

Please sign in to comment.