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

cerebras.modelzoo.common.utils.run.cli_parser.update_params_from_args(args: argparse.Namespace, params: dict, sysadmin_params: dict)[source]#

Update params in-place with the arguments from args.

Parameters
  • args – The namespace containing args from the commandline.

  • params – The params to be updated.

  • first_parse – Indicates whether to keep in the params path.