+
    TV-jb  ã                   óx   € ^ RI t ^ RIHtHt ^ RIHt R R ltR R ltR t]	R	8X  d   ]
! R
4       ]! 4        R# R# )é    N)ÚListÚUnion)Úscan_cache_dirc                ó    € V ^8„  d   QhR\         \         \        \        \        3,          ,          ,          R\         \        ,          R\        /# )é   ÚrowsÚheadersÚreturn)r   r   ÚstrÚint)Úformats   "Ú^/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/mlx_lm/manage.pyÚ__annotate__r      s7   € ÷ ñ ”4œœU¤3¬ 8�_Õ-Õ.ð ¼¼c½ð Äsñ ó    c           	     óÐ  € \        . V OVN5!   Uu. uF  p\        R V 4       4      NK  	  ppR\        V4      ,          P                  ! V!  p. pVP	                  VP                  ! V!  4       TP	                  VP                  ! V Uu. uF  pRV,          NK  	  up!  4       V  F"  pVP	                  VP                  ! V!  4       K$  	  RP                  V4      # u upi u upi )zx
Inspired by:
- stackoverflow.com/a/8356620/593036
- stackoverflow.com/questions/9535954/printing-lists-as-tabular-data
c              3   óJ   "  € T F  p\        \        V4      4      x € K  	  R # 5i©N)Úlenr   )Ú.0Úxs   & r   Ú	<genexpr>Útabulate.<locals>.<genexpr>   s   é € Ð/©3 a”cœ#˜a›&—k�k«3ùs   ‚!#z{{:{}}} Ú-Ú
)ÚzipÚmaxr   r   ÚappendÚjoin)r   r	   ÚcolÚ
col_widthsÚ
row_formatÚlinesÚwÚrows   &&      r   Útabulater%      sÏ   € ô <?Ð;NÀÐ;NÀgÔ;NÓOÑ;N°C”#Ñ/©3Ó/Ö/Ñ;N€JÐOØœs 7›|Õ+×3Ò3°ZÑ@€JØ€EØ	‡L�L�×"Ò" GÑ,Ô-Ø	‡L�L�×"Ò"±jÓ$A±j° S¨1§W W±jÑ$AÑBÔCÛˆØ�‰�Z×&Ò&¨Ñ,Ö-ñ à�9‰9�UÓÐùò Pùò %Bs   ‘CÂ
C#c                ó0   € V ^8„  d   QhR\         R\        /# )r   Úmessager
   )r   Úbool)r   s   "r   r   r      s   € ÷ Lñ L¤#ð L¬$ñ Lr   c                ó‚   € RpRpV  R2p \        V4      P                  4       pWA9   d   R# WB9   d   R# \        R4       K7  )zXAsk user for confirmation with Y/N prompt.
Returns True for Y/yes, False for N/no/empty.z (y/n) TFz9Invalid input. Must be one of: yes/no/y/n or empty for no)ÚyÚyesÚ1)ÚnÚnoÚ0Ú )ÚinputÚlowerÚprint)r'   r*   r-   Úfull_messageÚanswers   &    r   Úask_for_confirmationr6      sI   € ð 	€AØ€AØ�Y˜gÐ&€LØ
Ü�|Ó$×*Ñ*Ó,ˆØŒ;ÙØŒ;ÙÜÐIÖKr   c                  ó  € \         P                  ! R R7      p V P                  RRRR7       V P                  RRRR7       V P                  R\        R	R
R7       V P	                  4       pVP
                  '       dä   \        RVP                   R24       \        4       p\        \        \        VP                  R R7       Uu. uF‡  pVP                  VP                  9   g   K   VP                  VP                  RP                  VP                  4      VP                   VP"                  VP$                  \        VP&                  4      .NK‰  	  up. ROR7      4       VP(                  '       Ed�   \        RVP                   R24       \        4       p\        VP                  R R7       Uu. uF"  pVP                  VP                  9   g   K   VNK$  	  ppV'       d÷   \        R4       \        \        V Uu. uF/  pVP                  VP                  \        VP&                  4      .NK1  	  up. ROR7      4       \+        R4      pV'       dz   V Ff  p\        RVP                   R24       \        VP,                  R R7       F.  pVP/                  VP0                  4      pVP3                  4        K0  	  Kh  	  \        R4       R# \        R4       R# \        RVP                   R24       R# R# u upi u upi u upi ) zMLX Model Cache.)Údescriptionz--scanÚ
store_truez'Scan Hugging Face cache for mlx models.)ÚactionÚhelpz--deletez)Delete models matching the given pattern.z	--patternz Model repos contain the pattern.Úmlx)Útyper;   Údefaultz5Scanning Hugging Face cache for models with pattern "z".c                 ó   € V P                   # r   ©Ú	repo_path©Úrepos   &r   Ú<lambda>Úmain.<locals>.<lambda>K   s   € ¸d¿nºnr   )Úkeyz{:>12})r   r	   z"Deleting models matching pattern "Ú"c                 ó   € V P                   # r   r@   rB   s   &r   rD   rE   a   s   € ÀTÇ^Â^r   z
Found the following models:z.
Are you sure you want to delete these models?z

Deleting z...c                 ó   € V P                   # r   )Úcommit_hash)Úrevisions   &r   rD   rE      s
   € À8×CWÒCWr   z
Model(s) deleted successfully.z&
Deletion cancelled - no changes made.z"No models found matching pattern "N)úREPO IDz	REPO TYPEzSIZE ON DISKzNB FILESÚLAST_ACCESSEDÚLAST_MODIFIEDú
LOCAL PATH)rL   ÚSIZErO   )ÚargparseÚArgumentParserÚadd_argumentr   Ú
parse_argsÚscanr3   Úpatternr   r%   ÚsortedÚreposÚrepo_idÚ	repo_typer   Úsize_on_disk_strÚnb_filesÚlast_accessed_strÚlast_modified_strrA   Údeleter6   Ú	revisionsÚdelete_revisionsrJ   Úexecute)	ÚparserÚargsÚhf_cache_inforC   rX   Ú	confirmedÚ
model_inforK   Ústrategys	            r   Úmainri   &   sÊ  € Ü×$Ò$Ð1CÔD€FØ
×ÑØØØ6ð ô ð
 ×ÑØØØ8ð ô ð
 ×ÑØÜØ/Øð	 ô ð ×ÑÓ€Dà‡y‡y€yÜÐEÀdÇlÁlÀ^ÐSUÐVÔWÜ&Ó(ˆÜÜô !'Ø%×+Ñ+Ñ1Lõ!óñ!˜ð —|‘| t§|¡|Ñ3ôØŸ™ØŸ™Ø Ÿ™¨×(=Ñ(=Ó>ØŸ™Ø×.Ñ.Ø×.Ñ.Ü˜DŸN™NÓ+óñ!ñòô!ô	
ð: ‡{‡{�{ÜÐ2°4·<±<°.ÀÐBÔCÜ&Ó(ˆô ˜}×2Ñ2Ñ8SÕTó
áT�Ø�|‰|˜tŸ|™|Ñ+÷ ˆDÙTð 	ð 
÷
 ÜÐ1Ô2ÜÜñ %*óñ %*˜Dð	 !ŸL™LØ ×1Ñ1Ü §¡Ó/óñ
 %*ñòôôô$ -ØAóˆI÷ Û"'�JÜ˜K¨
×(:Ñ(:Ð';¸3Ð?Ô@Ü$*Ø"×,Ñ,Ñ2W÷%˜ð $1×#AÑ#AÀ(×BVÑBVÓ#W˜Ø ×(Ñ(Ö*ó	%ñ #(ô Ð8Ö9äÐ?Ö@äÐ6°t·|±|°nÀAÐFÖGñY ùò7ùò>
ùòs   ÃK3Ã$A+K3Æ.K8ÇK8Ç95K=Ú__main__z}Calling `python -m mlx_lm.manage...` directly is deprecated. Use `mlx_lm.manage...` or `python -m mlx_lm manage ...` instead.)rQ   Útypingr   r   Úhuggingface_hubr   r%   r6   ri   Ú__name__r3   © r   r   Ú<module>ro      sE   ðÛ ß å *õõ LòaHðH ˆzÔÙ	ð	Lôñ 	†Fñ r   