Skip to content

Commit

Permalink
Fixing merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-braf committed Dec 19, 2024
1 parent c6eaab2 commit 7df9575
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions genai-perf/genai_perf/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ def _add_analyze_args(parser):
type=str,
default=RunConfigDefaults.STIMULUS_TYPE,
choices=[
"batch_size",
"concurrency",
"num_dataset_entries",
"input_sequence_length",
Expand Down Expand Up @@ -996,39 +997,6 @@ def _add_tokenizer_args(parser):
)


def _add_analyze_args(parser):
analyze_group = parser.add_argument_group("Analyze")

analyze_group.add_argument(
"--sweep-type",
type=str,
default=RunConfigDefaults.STIMULUS_TYPE,
choices=[
"batch_size",
"concurrency",
"num_dataset_entries",
"input_sequence_length",
"request_rate",
],
required=False,
help=f"The stimulus type that GAP will sweep.",
)
analyze_group.add_argument(
"--sweep-range",
type=str,
default=f"{RunConfigDefaults.MIN_CONCURRENCY}:{RunConfigDefaults.MAX_CONCURRENCY}",
required=False,
help=f"The range the stimulus will be swept. Represented as 'min:max' or 'min:max:step'.",
)
analyze_group.add_argument(
"--sweep-list",
type=str,
default=None,
required=False,
help=f"A comma-separated list of values that stimulus will be swept over.",
)


def _parse_compare_args(subparsers) -> argparse.ArgumentParser:
compare = subparsers.add_parser(
Subcommand.COMPARE.to_lowercase(),
Expand Down

0 comments on commit 7df9575

Please sign in to comment.