


from argparse import ArgumentParser

from accelerate.commands.config import get_config_parser
from accelerate.commands.env import env_command_parser
from accelerate.commands.launch import launch_command_parser
from accelerate.commands.test import test_command_parser
from accelerate.commands.tpu import tpu_command_parser


def __lowercase     (      ):
				SCREAMING_SNAKE_CASE__     							=				ArgumentParser("Accelerate CLI tool"						,					usage="accelerate <command> [<args>]"						,					allow_abbrev=lowerCamelCase_  )
				SCREAMING_SNAKE_CASE__     							=				parser.add_subparsers(help="accelerate command helpers"  )

				# Register commands
				get_config_parser(subparsers=lowerCamelCase_  )
				env_command_parser(subparsers=lowerCamelCase_  )
				launch_command_parser(subparsers=lowerCamelCase_  )
				tpu_command_parser(subparsers=lowerCamelCase_  )
				test_command_parser(subparsers=lowerCamelCase_  )

				# Let's go
				SCREAMING_SNAKE_CASE__     							=				parser.parse_args()

				if not hasattr(lowerCamelCase_						,					"func"  ):
								parser.print_help()
								exit(1  )

				# Run
				args.func(lowerCamelCase_  )


if __name__ == "__main__":
	main()




"""simple docstring"""






from transformers import BertTokenizerFast

from .custom_tokenization import CustomTokenizer


class 			lowerCamelCase_		(			lowercase   ):





				"""simple docstring"""







				_lowerCAmelCase      :      List[Any]      							=					CustomTokenizer
				pass
