o
    h                     @   sr   d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ dd	 Zed
kr7e  dS dS )    )ArgumentParser)get_config_parser)env_command_parser)estimate_command_parser)launch_command_parser)test_command_parser)tpu_command_parserc                  C   s   t dddd} | jdd}t|d t|d t|d t|d t|d t|d |  }t	|ds<| 
  td	 || d S )
NzAccelerate CLI toolzaccelerate <command> [<args>]F)usageallow_abbrevzaccelerate command helpers)help)
subparsersfunc   )r   add_subparsersr   r   r   r   r   r   
parse_argshasattr
print_helpexitr   )parserr   args r   X/var/www/html/ai/venv/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.pymain   s   






r   __main__N)argparser   accelerate.commands.configr   accelerate.commands.envr   accelerate.commands.estimater   accelerate.commands.launchr   accelerate.commands.testr   accelerate.commands.tpur   r   __name__r   r   r   r   <module>   s   
