()
| 101 | |
| 102 | |
| 103 | def parse_arguments(): |
| 104 | parser = argparse.ArgumentParser() |
| 105 | parser.add_argument('--hide_operator_status', |
| 106 | action='store_true', |
| 107 | help='Suppress display of installation and compatibility statuses of DeepSpeed operators. ') |
| 108 | parser.add_argument('--hide_errors_and_warnings', action='store_true', help='Suppress warning and error messages.') |
| 109 | args = parser.parse_args() |
| 110 | return args |
| 111 | |
| 112 | |
| 113 | def main(hide_operator_status=False, hide_errors_and_warnings=False): |