§
    ŠŠtj`  ã                   ó:   — d dl Z d dlmZ dedefd„Zdedefd„ZdS )é    N)ÚArgumentÚvÚreturnc                 óŠ   — t          | t          j        ¦  «        rd| j        › d| j        › d| j        › d�S t          | ¦  «        S )zD
    Helper function to print out debug info in a friendly way.
    zTensor(z, grad=z, dtype=ú))Ú
isinstanceÚtorchÚTensorÚshapeÚrequires_gradÚdtypeÚstr)r   s    úa/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/torch/distributed/pipelining/_debug.pyÚfriendly_debug_infor      sJ   € õ �!•U”\Ñ"Ô"ð ØL˜œÐLÐL¨¬ÐLÐLÀ!Ä'ÐLÐLÐLÐLå�1‰vŒvˆó    Úac                 óV   — t           j        j                             | t          ¦  «        S )zp
    Helper function to apply `friendly_debug_info` to items in `a`.
    `a` may be a list, tuple, or dict.
    )r	   ÚfxÚnodeÚmap_aggregater   )r   s    r   Úmap_debug_infor      s   € õ
 Œ8Œ=×&Ò& qÕ*=Ñ>Ô>Ð>r   )r	   Útorch.fx.noder   Úobjectr   r   © r   r   ú<module>r      sp   ðð €€€Ø "Ð "Ð "Ð "Ð "Ð "ð˜6ð  hð ð ð ð ð?�hð ? 8ð ?ð ?ð ?ð ?ð ?ð ?r   