+
     °³jt  ã                   ó.   € ^ RI t^ RIt^ RItRR R lltR# )é    Nc                ó$   € V ^8„  d   QhR\         /# )é   Úupgrade)Úbool)Úformats   "Ú[/home/luca/screen-checking/.venv/lib/python3.14/site-packages/accelerate/utils/torch_xla.pyÚ__annotate__r	      s   € ÷ Pñ Pœñ Pó    c                ó°  € RpR\         P                  9   d2   R\        \         P                  R,          P                  4       4      9   pV'       d}   V '       d   . ROp\        P
                  ! VRR7       \        P                  P                  R4      pVR	VP                  R
4       pRV R2pRRV.p\        P
                  ! VRR7       R	# \        R4      h)aY  
Helper function to install appropriate xla wheels based on the `torch` version in Google Colaboratory.

Args:
    upgrade (`bool`, *optional*, defaults to `False`):
        Whether to upgrade `torch` and install the latest `torch_xla` wheels.

Example:

```python
>>> from accelerate.utils import install_xla

>>> install_xla(upgrade=True)
```
FÚIPythonzgoogle.colabÚpipÚinstallÚtorchT)ÚcheckNÚ.zBhttps://storage.googleapis.com/tpu-pytorch/wheels/colab/torch_xla-z-cp37-cp37m-linux_x86_64.whlz1`install_xla` utility works only on google colab.)r   r   z-Ur   )ÚsysÚmodulesÚstrÚget_ipythonÚ
subprocessÚrunÚ	importlibÚmetadataÚversionÚrindexÚRuntimeError)r   Úin_colabÚtorch_install_cmdÚtorch_versionÚtorch_version_truncÚ	xla_wheelÚxla_install_cmds   &      r   Úinstall_xlar#      s¾   € ð  €HØ”C—K‘KÔØ!¤S¬¯©°YÕ)?×)KÑ)KÓ)MÓ%NÑNˆçßÚ AÐÜ�NŠNÐ,°DÕ9ä!×*Ñ*×2Ñ2°7Ó;ˆØ+Ð,G¨m×.BÑ.BÀ3Ó.GÐHÐØXÐYlÐXmð  nJð  Kˆ	Ø  )¨YÐ7ˆÜ�Š�¨d×3äÐNÓOÐOr
   )F)Úimportlib.metadatar   r   r   r#   © r
   r   Ú<module>r&      s   ðó Û Û 
÷Pñ Pr
   