Skip to content

Commit

Permalink
Remove extra print in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
dyastremsky committed Feb 29, 2024
1 parent 655a506 commit 6a00e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c++/perf_analyzer/genai-pa/genai_pa/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def prune_args(args: argparse.ArgumentParser) -> argparse.ArgumentParser:
"""
Prune the parsed arguments to remove args with None or False values.
"""
print(args)
return argparse.Namespace(
**{k: v for k, v in vars(args).items() if v is not None if v is not False}
)
Expand Down Expand Up @@ -199,6 +198,7 @@ def parse_args(argv=None):
parser = argparse.ArgumentParser(
prog="genai-pa",
description="CLI to profile LLMs and Generative AI models with Perf Analyzer",
formatter_class=argparse.RawDescriptionHelpFormatter,
)
parser.set_defaults(func=handler)

Expand Down

0 comments on commit 6a00e88

Please sign in to comment.