cerebras.modelzoo.common.utils.run.cli_parser.add_csx_arguments#

cerebras.modelzoo.common.utils.run.cli_parser.add_csx_arguments(parser: argparse.ArgumentParser, first_parse: bool = True)[source]#

Injects Cerebras System specific parser arguments.

Parameters
  • parser – Parser into which the arguments are being added.

  • first_parse – Boolean indicating whether this is the first time processing the arguments. If True, default args are ignored in case the other has them stored elsewhere. If False, default args are set.