Skip to content

Use argparse functionality#34

Open
alexjch wants to merge 2 commits into
HabanaAI:mainfrom
alexjch:avjarami/argparse-choices
Open

Use argparse functionality#34
alexjch wants to merge 2 commits into
HabanaAI:mainfrom
alexjch:avjarami/argparse-choices

Conversation

@alexjch

@alexjch alexjch commented Jul 26, 2024

Copy link
Copy Markdown
  • Use choices for --test argument.
  • Use required for nranks, node_id arguments.

alexjch added 2 commits July 26, 2024 13:28
This change makes use of argparse choices mechanism for the '--test'
argument instead of re-creating functionality.

Signed-off-by: Alex V Jaramillo <alex.v.jaramillo@intel.com>
This change marks nranks and node_id arguments as required to use
the argparse argument validation instead of re-create the functinality
in code.

The original validation was left in place, because it is still required
since these values should not be negative.

Signed-off-by: Alex V Jaramillo <alex.v.jaramillo@intel.com>
@gad-arbel gad-arbel force-pushed the main branch 2 times, most recently from 6367dab to f623d69 Compare October 9, 2025 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant