+
    „°ñjaC  ã                   ó´   € R t ^ RIt^ RIHtHt ^ RIt^ RIHt ^ RIt	^RI
HtHt ^ RIHt ]]]3,          tR R lt ! R R4      t ! R	 R
4      tRR R lltR# )a&  
Bypass mode implementation for weight adapters (LoRA, LoKr, LoHa, etc.)

Bypass mode applies adapters during forward pass without modifying base weights:
    bypass(f)(x) = g(f(x) + h(x))

Where:
    - f(x): Original layer forward
    - h(x): Additive component from adapter (LoRA path)
    - g(y): Output transformation (identity for most adapters)

This is useful for:
    - Training with gradient checkpointing
    - Avoiding weight modifications when weights are offloaded
    - Supporting multiple adapters with different strengths dynamically
N)ÚOptionalÚUnion)ÚWeightAdapterBaseÚWeightAdapterTrainBase)ÚPatcherInjectionc                óD   € V ^8„  d   QhR\         P                  R\        /# )é   ÚmoduleÚreturn)ÚnnÚModuleÚdict)Úformats   "Ú?C:\Ai_Coding\apps\studio\ComfyUI\comfy\weight_adapter\bypass.pyÚ__annotate__r       s"   € ÷ Hñ H¤§¡ð H¬tñ Hó    c                óŠ  € RRR^ RRRRRRR^RRR	R
RR
/	p\        V \        P                  4      '       d   RVR&   ^VR&   Më\        V \        P                  4      '       d   RVR&   ^VR&   MÀ\        V \        P                  4      '       d   RVR&   ^VR&   M•\        V \        P
                  4      '       d   RVR&   ^ VR&   Mj\        V 4      P                  P                  4       pRV9   d   RVR&   ^VR&   M5RV9   d   RVR&   ^VR&   M#RV9   d   RVR&   ^VR&   MRV9   d   RVR&   ^VR&   VR,          '       Ed‰   \        V RRVR,          ,          4      VR&   \        V RRVR,          ,          4      VR&   \        V RRVR,          ,          4      VR&   \        V R^4      VR&   \        V RRVR,          ,          4      VR&   \        V R	R
4      VR	&   \        V RR
4      VR&   \        VR,          \        4      '       d   VR,          3VR,          ,          VR&   \        VR,          \        4      '       d   VR,          3VR,          ,          VR&   \        VR,          \        4      '       d   VR,          3VR,          ,          VR&   \        VR,          \        4      '       d   VR,          3VR,          ,          VR&   V# )a  
Determine module type and extract conv parameters from module class.

This is more reliable than checking weight.ndim, especially for quantized layers
where weight shape might be different.

Returns:
    dict with keys: is_conv, conv_dim, stride, padding, dilation, groups
Úis_convFÚconv_dimÚstrideÚpaddingÚdilationÚgroupsÚkernel_sizeÚin_channelsNÚout_channelsTÚconv3dÚconv2dÚconv1dÚconv)é   )é    )Ú
isinstancer   ÚConv1dÚConv2dÚConv3dÚLinearÚtypeÚ__name__ÚlowerÚgetattrÚint)r	   ÚinfoÚ
class_names   &  r   Úget_module_type_infor.       s¾  € ð 	�5Ø�AØ�$Ø�4Ø�DØ�!Ø�tØ�tØ˜ð
€Dô �&œ"Ÿ)™)×$Ò$ØˆˆY‰ØˆˆZÒÜ	�FœBŸI™I×	&Ò	&ØˆˆY‰ØˆˆZÒÜ	�FœBŸI™I×	&Ò	&ØˆˆY‰ØˆˆZÒÜ	�FœBŸI™I×	&Ò	&ØˆˆY‰ØˆˆZÒô ˜&“\×*Ñ*×0Ñ0Ó2ˆ
Ø�zÔ!Ø"ˆD�‰OØ ˆD�ÒØ˜Ô#Ø"ˆD�‰OØ ˆD�ÒØ˜Ô#Ø"ˆD�‰OØ ˆD�ÒØ�zÔ!Ø"ˆD�‰OØ ˆD�Ñð ˆI‡…ä  ¨°4¸$¸zÕ:JÕ3JÓKˆˆX‰Ü! &¨)°T¸DÀÕ<LÕ5LÓMˆˆY‰Ü" 6¨:°t¸dÀ:Õ>NÕ7NÓOˆˆZÑÜ  ¨°1Ó5ˆˆX‰Ü% f¨m¸TÀDÈÕDTÕ=TÓUˆˆ]ÑÜ% f¨m¸TÓBˆˆ]ÑÜ& v¨~¸tÓDˆˆ^Ñô �d˜8•n¤c×*Ò*Ø" 8�nÐ.°°jÕ1AÕAˆD�‰NÜ�d˜9•o¤s×+Ò+Ø# I�Ð0°4¸
Õ3CÕCˆD�‰OÜ�d˜:Õ&¬×,Ò,Ø $ ZÕ 0Ð2°T¸*Õ5EÕEˆD�ÑÜ�d˜=Õ)¬3×/Ò/Ø#'¨Õ#6Ð"8¸4À
Õ;KÕ"KˆD�Ñà€Kr   c                   ób   a € ] tR t^kt o RtRV 3R lR lltV 3R lR ltR tRR ltR	 t	R
t
V tR# )ÚBypassForwardHooka(  
Hook that wraps a layer's forward to apply adapter in bypass mode.

Stores the original forward and replaces it with bypass version.

Supports both:
    - WeightAdapterBase: Inference adapters (uses self.weights tuple)
    - WeightAdapterTrainBase: Training adapters (nn.Module with parameters)
c                ó@   <€ V ^8„  d   QhRS[ P                  RS[RS[/# )r   r	   ÚadapterÚ
multiplier)r   r   ÚBypassAdapterÚfloat)r   Ú__classdict__s   "€r   r   ÚBypassForwardHook.__annotate__v   s-   ø€ ÷ !ñ !á—	‘	ð!ñ ð!ñ ñ	!r   c           	     ól  € Wn         W n        W0n        R V n        \	        V4      pW2n        VR,          Vn        VR,          Vn        VR,          Vn        VR,          Vn        VR,          Vn	        VR,          '       d.   RVR,          RVR,          RVR,          R	VR	,          /Vn
        R # / Vn
        R # )
Nr   r   r   r   r   r   r   r   r   )r	   r2   r3   Úoriginal_forwardr.   r   r   r   r   r   Úkw_dict)Úselfr	   r2   r3   Úmodule_infos   &&&& r   Ú__init__ÚBypassForwardHook.__init__v   s´   € ð ŒØŒØ$ŒØ $ˆÔô +¨6Ó2ˆð (ÔØ% iÕ0ˆŒØ& zÕ2ˆÔØ)¨-Õ8ˆÔØ)¨-Õ8ˆÔØ*¨>Õ:ˆÔà�y×!Ô!à˜+ hÕ/Ø˜; yÕ1Ø˜K¨
Õ3Ø˜+ hÕ/ð	ˆGŽOð !ˆGŽOr   c                óN   <€ V ^8„  d   QhRS[ P                  RS[ P                  /# )r   Úxr
   )ÚtorchÚTensor)r   r6   s   "€r   r   r7   –   s#   ø€ ÷ 0ñ 0¡§¡ð 0Á5Ç<Á<ñ 0r   c                óÄ  € \        V P                  RR4      pVeu   \        V P                  4      pVP                  \        P                  J ;'       g    VP                  \
        P                  J pV'       g   V! V P                  V.VO5/ VB # V P                  ! V.VO5/ VB pV P                  P                  W4      pV P                  P                  Wx,           4      # )ah  Bypass forward: uses adapter's bypass_forward or default g(f(x) + h(x))

Note:
    Bypass mode does NOT access original model weights (org_weight).
    This is intentional - bypass mode is designed for quantized models
    where weights may not be in a usable format. All necessary shape
    information is provided via adapter attributes set during inject().
Úbypass_forwardN)	r*   r2   r'   rD   r   r   r9   ÚhÚg)	r;   r@   ÚargsÚkwargsÚadapter_bypassÚadapter_typeÚis_default_bypassÚbase_outÚh_outs	   &&*,     r   Ú_bypass_forwardÚ!BypassForwardHook._bypass_forward–   sÎ   € ô ! §¡Ð/?ÀÓFˆØÒ%ô   §¡Ó-ˆLà×+Ñ+Ô/@×/OÑ/OÐO÷ Xð XØ×.Ñ.Ô2H×2WÑ2WÐWð ÷ %Ù% d×&;Ñ&;¸QÐPÀÒPÈÑPÐPð ×(Ò(¨Ð<¨TÒ<°VÑ<ˆØ—‘—‘˜qÓ+ˆØ�|‰|�~‰~˜hÕ.Ó/Ð/r   c                ó„  € V P                   e9   \        P                  ! R\        V P                  4      P
                   24       R# \        P                  P                  4       pRp\        V P                  R4      '       d9   V P                  P                  e!   V P                  P                  P                  pVe7   V\        P                  \        P                  \        P                  39  d   RpV P!                  W4       V P                  P"                  V n         \%        V P                  RR4      V n        RV P                  n        V P*                  V P                  n        \        P                  ! R\        V P                  4      P
                   R\        V P,                  4      P
                   R	24       R# )
z+Replace module forward with bypass version.Nz"[BypassHook] Already injected for ÚweightÚcomfy_force_forwardFTz)[BypassHook] Injected bypass forward for z
 (adapter=Ú))r9   ÚloggingÚdebugr'   r	   r(   ÚcomfyÚmodel_managementÚget_torch_deviceÚhasattrrQ   ÚdtyperA   Úfloat32Úfloat16Úbfloat16Ú_move_adapter_weights_to_deviceÚforwardr*   Úoriginal_force_forwardrR   rN   r2   )r;   ÚdevicerZ   s   &  r   ÚinjectÚBypassForwardHook.inject±   sK  € à× Ñ Ò,Ü�MŠMØ4´T¸$¿+¹+Ó5F×5OÑ5OÐ4PÐQôñ ô
 ×'Ñ'×8Ñ8Ó:ˆð ˆÜ�4—;‘; ×)Ò)¨d¯k©k×.@Ñ.@Ò.LØ—K‘K×&Ñ&×,Ñ,ˆEð Ò ¬u¯}©}¼e¿m¹mÌUÏ^É^Ð.\Ô!\ØˆEà×,Ñ,¨VÔ;à $§¡× 3Ñ 3ˆÔÜ&-¨d¯k©kÐ;PÐRWÓ&XˆÔ#Ø*.ˆ�‰Ô'Ø"×2Ñ2ˆ�‰ÔÜ�ŠØ7¼¸T¿[¹[Ó8I×8RÑ8RÐ7SÐS]Ô^bÐcg×coÑcoÓ^p×^yÑ^yÐ]zÐz{Ð|ö	
r   Nc                ó‚  € V P                   p\        V\        P                  4      '       d.   VP	                  VR7       \
        P                  ! RV 24       R# \        VR4      '       d   VP                  f   R# VP                  p\        V\        \        34      '       d°   . pV F~  p\        V\        P                  4      '       dK   Ve$   VP                  VP	                  WR7      4       KJ  VP                  VP	                  VR7      4       Km  VP                  V4       K€  	  \        V\        4      '       d   \        V4      MTVn        MS\        V\        P                  4      '       d4   Ve   VP	                  WR7      Vn        MVP	                  VR7      Vn        \
        P                  ! RV 24       R# )zÞMove adapter weights to specified device to avoid per-forward transfers.

Handles both:
    - WeightAdapterBase: has self.weights tuple of tensors
    - WeightAdapterTrainBase: nn.Module with parameters, uses .to() method
)ra   z3[BypassHook] Moved training adapter (nn.Module) to NÚweights)ra   rZ   z&[BypassHook] Moved adapter weights to )r2   r"   r   r   ÚtorT   rU   rY   re   ÚlistÚtuplerA   rB   Úappend)r;   ra   rZ   r2   re   Únew_weightsÚws   &&&    r   r^   Ú1BypassForwardHook._move_adapter_weights_to_deviceÑ   sT  € ð —,‘,ˆô �gœrŸy™y×)Ò)à�J‰J˜fˆJÔ%Ü�MŠMØEÀfÀXÐNôñ ô �w 	×*Ò*¨g¯o©oÒ.EÙà—/‘/ˆÜ�g¤¤e˜}×-Ò-ØˆKÛ�Ü˜a¤§¡×.Ò.ØÒ(Ø#×*Ñ*¨1¯4©4°v¨4Ó+KÖLà#×*Ñ*¨1¯4©4°v¨4Ó+>Ö?à×&Ñ& qÖ)ñ ô '1°¼%×&@Ò&@”�kÔ"Àkð �Oô ˜¤§¡×.Ò.ØÒ Ø")§*¡*°F *Ó"H�•à")§*¡*°F *Ó";�”ä�ŠÐ>¸v¸hÐGÖHr   c                óx  € V P                   f9   \        P                  ! R\        V P                  4      P
                   24       R# V P                   V P                  n        V P                  V P                  n        RV n         \        P                  ! R\        V P                  4      P
                   24       R# )z Restore original module forward.Nz[BypassHook] Not injected for z([BypassHook] Ejected bypass forward for )	r9   rT   rU   r'   r	   r(   r_   r`   rR   ©r;   s   &r   ÚejectÚBypassForwardHook.ejectý   s‡   € à× Ñ Ò(Ü�MŠMÐ:¼4ÀÇÁÓ;L×;UÑ;UÐ:VÐWÔXÙà"×3Ñ3ˆ�‰ÔØ*.×*EÑ*Eˆ�‰Ô'Ø $ˆÔÜ�ŠØ6´t¸D¿K¹KÓ7H×7QÑ7QÐ6RÐSö	
r   )r2   r	   r3   r`   r9   ©g      ð?©N)r(   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r=   rN   rb   r^   ro   Ú__static_attributes__Ú__classdictcell__©r6   s   @r   r0   r0   k   s6   ø‡ € ñ÷!ò !÷@0ð 0ò6
ô@*I÷X
ð 
r   r0   c                   ó|   a € ] tR tRt o RtR tRV 3R lR lltR tV 3R lR ltV 3R	 lR
 lt	V 3R lR lt
RtV tR# )ÚBypassInjectionManageri  a5  
Manages bypass mode injection for a collection of adapters.

Creates PatcherInjection objects that can be used with ModelPatcher.

Supports both inference adapters (WeightAdapterBase) and training adapters
(WeightAdapterTrainBase).

Usage:
    manager = BypassInjectionManager()
    manager.add_adapter("model.layers.0.self_attn.q_proj", lora_adapter, strength=0.8)
    manager.add_adapter("model.layers.0.self_attn.k_proj", lora_adapter, strength=0.8)

    injections = manager.create_injections(model)
    model_patcher.set_injections("bypass_lora", injections)
c                ó"   € / V n         . V n        R # rr   ©ÚadaptersÚhooksrn   s   &r   r=   ÚBypassInjectionManager.__init__  s   € Ø@BˆŒØ.0ˆŽ
r   c                ó,   <€ V ^8„  d   QhRS[ RS[RS[/# )r   Úkeyr2   Ústrength)Ústrr4   r5   )r   r6   s   "€r   r   Ú#BypassInjectionManager.__annotate__!  s)   ø€ ÷ 
ñ 
áð
ñ ð
ñ ñ	
r   c           	     ó   € TpVP                  R4      '       d"   VRR	 p\        P                  ! RV RV 24       W#3V P                  V&   \        P                  ! RV R\	        V4      P
                   RV R24       R# )
zä
Add an adapter for a specific weight key.

Args:
    key: Weight key (e.g., "model.layers.0.self_attn.q_proj.weight")
    adapter: The weight adapter (LoRAAdapter, LoKrAdapter, etc.)
    strength: Multiplier for adapter effect
z.weightNz)[BypassManager] Stripped .weight suffix: z -> z[BypassManager] Added adapter: z (type=z, strength=rS   iùÿÿÿ)ÚendswithrT   rU   r~   r'   r(   )r;   r‚   r2   rƒ   Ú
module_keys   &&&& r   Úadd_adapterÚ"BypassInjectionManager.add_adapter!  s‡   € ð ˆ
Ø×Ñ˜y×)Ò)Ø# C R˜ˆJÜ�MŠMØ;¸C¸5ÀÀZÀLÐQôð &-Ð$7ˆ�‰�jÑ!Ü�ŠØ-¨j¨\¸ÄÀgÃ×AWÑAWÐ@XÐXcÐdlÐcmÐmnÐoö	
r   c                ó:   € V P                   P                  4        R# )zRemove all adapters.N)r~   Úclearrn   s   &r   Úclear_adaptersÚ%BypassInjectionManager.clear_adapters<  s   € à�‰×ÑÖr   c                ód   <€ V ^8„  d   QhRS[ P                  RS[RS[S[ P                  ,          /# )r   Úmodelr‚   r
   )r   r   r„   r   )r   r6   s   "€r   r   r…   @  s/   ø€ ÷ ñ ©¯	©	ð ¹ð ÁÉÏÉÕ@Sñ r   c                ó  € VP                  R4      pTp \        V4       F:  w  rVVP                  4       '       d   V\        V4      ,          pK/  \	        WF4      pK<  	  \
        P                  ! RV R\        V4      P                   24       V#   \        \        \        3 dZ   p\
        P                  ! RT RT 24       \
        P                  ! RX RX R\        T4      P                   24        Rp?R# Rp?ii ; i)	z%Get a submodule by dot-separated key.Ú.z%[BypassManager] Found module for key z: z.[BypassManager] Failed to find module for key z%[BypassManager] Failed at part index z, part=z, current module type=N)ÚsplitÚ	enumerateÚisdigitr+   r*   rT   rU   r'   r(   ÚAttributeErrorÚ
IndexErrorÚKeyErrorÚerror)r;   r�   r‚   Úpartsr	   ÚiÚpartÚes   &&&     r   Ú_get_module_by_keyÚ)BypassInjectionManager._get_module_by_key@  sæ   € à—	‘	˜#“ˆØˆð	Ü$ UÖ+‘�Ø—<‘<—>’>Ø#¤C¨£IÕ.’Fä$ VÓ2’Fñ	 ,ô
 �MŠMØ7¸°u¸B¼tÀF»|×?TÑ?TÐ>UÐVôð ˆMøÜ¤
¬HÐ5ô 	Ü�MŠMÐJÈ3È%ÈrÐRSÐQTÐUÔVÜ�MŠMØ7¸°s¸'À$ÀÐG]Ô^bÐciÓ^j×^sÑ^sÐ]tÐuôõ ûð	ús   •A9B ÂC>Â%AC9Ã9C>c                óJ   <€ V ^8„  d   QhRS[ P                  RS[S[,          /# )r   r�   r
   )r   r   rg   r   )r   r6   s   "€r   r   r…   U  s)   ø€ ÷ 9Fñ 9F¡r§y¡yð 9F±TÑ:JÕ5Kñ 9Fr   c           
     ó¾  a € S P                   P                  4        \        P                  ! R\	        S P
                  4       R24       \        P                  ! R\        V4      P                   24       S P
                  P                  4        EF  w  pw  r4\        P                  ! RV 24       S P                  W4      pVf   \        P                  ! RV 24       KR  \        VR4      '       g3   \        P                  ! RV R\        V4      P                   R	24       K–  \        P                  ! R
V R\        V4      P                   RVP                  P                   R	24       \        WSVR7      pS P                   P                  V4       EK  	  \        P                  ! R\	        S P                   4       R24       V 3R lpV 3R lp\!        WxR7      .# )zß
Create PatcherInjection objects for all registered adapters.

Args:
    model: The model to inject into (e.g., model_patcher.model)

Returns:
    List of PatcherInjection objects to use with model_patcher.set_injections()
z.[BypassManager] create_injections called with z	 adaptersz[BypassManager] Model type: z$[BypassManager] Looking for module: z)[BypassManager] Module not found for key rQ   z[BypassManager] Module z has no weight attribute (type=rS   z"[BypassManager] Creating hook for z (module type=z, weight shape=)r3   z[BypassManager] Created ú hooksc                 ó  <€ \         P                  ! R \        SP                  4       R24       SP                   FI  pVP	                  4        \         P                  ! R\        VP                  4      P                   24       KK  	  R# )z-[BypassManager] inject_all called, injecting r¢   z"[BypassManager] Injected hook for N)rT   rU   Úlenr   rb   r'   r	   r(   ©Úmodel_patcherÚhookr;   s   & €r   Ú
inject_allÚ<BypassInjectionManager.create_injections.<locals>.inject_all}  sd   ø€ Ü�MŠMØ?ÄÀDÇJÁJÃÐ?PÐPVÐWôð Ÿ
œ
�Ø—‘”Ü—’Ø8¼¸d¿k¹kÓ9J×9SÑ9SÐ8TÐUöó #r   c                 ó¨   <€ \         P                  ! R \        SP                  4       R24       SP                   F  pVP	                  4        K  	  R# )z+[BypassManager] eject_all called, ejecting r¢   N)rT   rU   r¤   r   ro   r¥   s   & €r   Ú	eject_allÚ;BypassInjectionManager.create_injections.<locals>.eject_all‡  s=   ø€ Ü�MŠMØ=¼cÀ$Ç*Á*»oÐ=NÈfÐUôð Ÿ
œ
�Ø—
‘
–ó #r   )rb   ro   )r   rŒ   rT   rU   r¤   r~   r'   r(   Úitemsrž   ÚwarningrY   rQ   Úshaper0   ri   r   )	r;   r�   r‚   r2   rƒ   r	   r§   r¨   r«   s	   f&       r   Úcreate_injectionsÚ(BypassInjectionManager.create_injectionsU  s¥  ø€ ð 	�
‰
×ÑÔä�ŠØ<¼SÀÇÁÓ=OÐ<PÐPYÐZô	
ô 	�ŠÐ4´T¸%³[×5IÑ5IÐ4JÐKÔLà(,¯©×(;Ñ(;×(=Ñ$ˆCÑ$�'Ü�MŠMÐ@ÀÀÐFÔGØ×,Ñ,¨UÓ8ˆFàŠ~Ü—’Ð"KÈCÈ5Ð QÔRÙä˜6 8×,Ò,Ü—’Ø-¨c¨UÐ2QÔRVÐW]ÓR^×RgÑRgÐQhÐhiÐjôñ ä�MŠMØ4°S°E¸ÌÈVË×H]ÑH]ÐG^Ð^mÐnt×n{Ñn{÷  oBñ  oBð  nCð  CDð  Eôô % VÀÔJˆDØ�J‰J×Ñ˜d×#ñ% )>ô( 	�ŠÐ0´°T·Z±Z³Ð0AÀÐHÔIõ	õ	ô !¨
ÔDÐEÐEr   c                ó    <€ V ^8„  d   QhRS[ /# )r   r
   )r+   )r   r6   s   "€r   r   r…   �  s   ø€ ÷ ñ ¡ñ r   c                ó,   € \        V P                  4      # )z1Return number of hooks that will be/are injected.)r¤   r   rn   s   &r   Úget_hook_countÚ%BypassInjectionManager.get_hook_count�  s   € ä�4—:‘:‹Ðr   r}   Nrq   )r(   rs   rt   ru   rv   r=   r‰   r�   rž   r°   r´   rw   rx   ry   s   @r   r{   r{     s?   ø‡ € ñò"1÷
ò 
ò6÷ð ÷*9Fð 9F÷vö r   r{   c          	      ór   € V ^8„  d   QhR\         P                  R\        R\        R\        \
        ,          /# )r   r�   Úpatchesrƒ   r
   )r   r   r   r5   rg   r   )r   s   "r   r   r   •  s:   € ÷ ',ñ ',Ü�9‰9ð',äð',ô ð',ô 
Ô
Õñ	',r   c                ó  € \        4       pVP                  4        FZ  w  rEV'       g   K  V FE  pVw  rxršp\        V\        \        34      '       d   TpMK*  W',          pVP                  WLVR7       KG  	  K\  	  VP                  V 4      # )a‡  
Convenience function to create bypass injections from a patches dict.

This is useful when you have patches in the format used by model_patcher.add_patches()
and want to apply them in bypass mode instead.

Args:
    model: The model to inject into
    patches: Dict mapping weight keys to adapter data
    strength: Global strength multiplier

Returns:
    List of PatcherInjection objects
)rƒ   )r{   r­   r"   r   r   r‰   r°   )r�   r·   rƒ   Úmanagerr‚   Ú
patch_listÚpatchÚpatch_strengthÚ
patch_dataÚstrength_modelÚoffsetÚfunctionr2   Úcombined_strengths   &&&           r   Ú%create_bypass_injections_from_patchesrÂ   •  sŒ   € ô& %Ó&€Gà"Ÿ=™=ž?‰ˆßÙó  ˆEØKPÑHˆN¨Àô ˜*Ô'8Ô:PÐ&Q×RÒRØ$‘ñ à (Õ 9ÐØ×Ñ Ð7HÐÖIó  ñ +ð$ ×$Ñ$ UÓ+Ð+r   rq   )rv   rT   Útypingr   r   rA   Útorch.nnr   Úcomfy.model_managementrV   Úbaser   r   Úcomfy.patcher_extensionr   r4   r.   r0   r{   rÂ   © r   r   Ú<module>rÉ      s_   ðñó" ß "ã Ý ã ß ;Ý 4ð Ð'Ð)?Ð?Õ@€õH÷V]
ñ ]
÷@Gñ G÷T',ñ ',r   