Ë
    )täie  ã                   óJ   — d dl Z d dlmZmZ dd„Zd„ Zd„ Zedk(  r e«        yy)é    N)Úexecute_subprocess_asyncÚpath_in_accelerate_packagec                 ó°   — | �| j                  d«      }nt        j                  d«      }|j                  dd d¬«       | �|j	                  t
        ¬«       |S )NÚtestzAccelerate test commandz--config_fileaT  The path to use to store the config file. Will default to a file named default_config.yaml in the cache location, which is the content of the environment `HF_HOME` suffixed with 'accelerate', or if you don't have such an environment variable, your cache directory ('~/.cache' or the content of `XDG_CACHE_HOME`) suffixed with 'huggingface'.)ÚdefaultÚhelp)Úfunc)Ú
add_parserÚargparseÚArgumentParserÚadd_argumentÚset_defaultsÚtest_command)Ú
subparsersÚparsers     úg/Volumes/fast/ai/experiments/MLX_z-image/.venv/lib/python3.12/site-packages/accelerate/commands/test.pyÚtest_command_parserr      se   € ØÐØ×&Ñ& vÓ.‰ä×(Ñ(Ð)BÓCˆà
×ÑØØð"ð	 ô 	ð ÐØ×Ñ¤ÐÔ.Ø€Mó    c                 óÖ   — t        ddd«      }| j                  €|g}n d| j                  › d|› �j                  «       }dg|z   }t        |«      }|j                  dk(  rt        d«       y y )	NÚ
test_utilsÚscriptsztest_script.pyz--config_file=Ú zaccelerate-launchr   z?Test is a success! You are ready for your distributed training!)r   Úconfig_fileÚsplitr   Ú
returncodeÚprint)ÚargsÚscript_nameÚ	test_argsÚcmdÚresults        r   r   r   ,   sy   € Ü,¨\¸9ÐFVÓW€Kà×ÑÐØ �M‰	à$ T×%5Ñ%5Ð$6°a¸°}ÐE×KÑKÓMˆ	àÐ
 )Ñ
+€CÜ% cÓ*€FØ×Ñ˜AÒÜÐOÕPð r   c                  óN   — t        «       } | j                  «       }t        |«       y ©N)r   Ú
parse_argsr   )r   r   s     r   Úmainr%   :   s    € Ü Ó"€FØ×ÑÓ€DÜ�Õr   Ú__main__r#   )r   Úaccelerate.test_utilsr   r   r   r   r%   Ú__name__© r   r   Ú<module>r*      s1   ðó" ç Vóò,Qòð ˆzÒÙ…Fð r   