+
    „°ñj–  ã                   ó¼   € ^ RI Ht ^ RIHt ^ RIt^ RIt^ RIHtH	t	 ^ RI
t
 ! R R]	P                  4      t ! R R]	P                  4      t ! R	 R
]4      tR R ltR# )é    )Úoverride)ÚCallableN)ÚComfyExtensionÚioc                   ó`   a € ] tR t^t o ]V 3R lR l4       t]R^/V 3R lR ll4       tRtV tR# )ÚEmptyChromaRadianceLatentImagec                ó4   <€ V ^8„  d   QhRS[ P                  /# ©é   Úreturn©r   ÚSchema)ÚformatÚ__classdict__s   "€ÚFC:\Ai_Coding\apps\studio\ComfyUI\comfy_extras\nodes_chroma_radiance.pyÚ__annotate__Ú+EmptyChromaRadianceLatentImage.__annotate__   s   ø€ ÷ 

ñ 

™bŸi™iñ 

ó    c                ó‚  € \         P                  ! R R\         P                  P                  RR^\        P
                  ^R7      \         P                  P                  RR^\        P
                  ^R7      \         P                  P                  R^^RR7      .\         P                  ! 4       P                  4       .R	7      # )
r   zmodel/latent/chroma radianceÚwidthi   )ÚidÚdefaultÚminÚmaxÚstepÚheightÚ
batch_sizei   )r   r   r   r   )Únode_idÚcategoryÚinputsÚoutputs)r   r   ÚIntÚInputÚnodesÚMAX_RESOLUTIONÚLatentÚOutput©Úclss   &r   Údefine_schemaÚ,EmptyChromaRadianceLatentImage.define_schema   s�   € ä�yŠyØ4Ø3ä—‘—‘ °¸2Ä5×CWÑCWÐ^`�ÓaÜ—‘—‘ °$¸BÄE×DXÑDXÐ_a�ÓbÜ—‘—‘ °a¸QÀD�ÓIðô
 —Y’Y“[×'Ñ'Ó)Ð*ô	
ð 		
r   r   c                óF   <€ V ^8„  d   QhRS[ RS[ RS[ RS[P                  /# )r   r   r   r   r   )Úintr   Ú
NodeOutput)r   r   s   "€r   r   r      s-   ø€ ÷ 1ñ 1™sð 1©Cð 1¹Sð 1ÁrÇ}Á}ñ 1r   c               ó    € \         P                  ! V^W!3\        P                  P	                  4       R7      p\
        P                  ! RV/4      # )é   )ÚdeviceÚsamples)ÚtorchÚzerosÚcomfyÚmodel_managementÚintermediate_devicer   r.   )r)   r   r   r   Úlatents   &$$$ r   ÚexecuteÚ&EmptyChromaRadianceLatentImage.execute   s<   € ä—’˜j¨!¨VÐ;ÄE×DZÑDZ×DnÑDnÓDpÔqˆÜ�}Š}˜i¨Ð/Ó0Ð0r   © N©	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Úclassmethodr*   r9   Ú__static_attributes__Ú__classdictcell__©r   s   @r   r   r      s7   ø‡ € Ø÷

ó ð

ð ð1À÷ 1ñ 1ó ö1r   r   c                   óX   a € ] tR t^t o ]V 3R lR l4       t]V 3R lR l4       tRtV tR# )ÚChromaRadianceOptionsc                ó4   <€ V ^8„  d   QhRS[ P                  /# r
   r   )r   r   s   "€r   r   Ú"ChromaRadianceOptions.__annotate__!   s   ø€ ÷ +
ñ +
™bŸi™iñ +
r   c                ó  € \         P                  ! R RR\         P                  P                  RR7      \         P                  P                  RRRR7      \         P
                  P                  R	R
RR
RRR7      \         P
                  P                  RRRR
RRR7      \         P                  P                  RRRRRR7      \         P                  P                  RRRRR7      .\         P                  P                  4       .R7      # )rF   zmodel/patch/chroma radiancez>Allows setting advanced options for the Chroma Radiance model.Úmodel)r   Úpreserve_wrapperTzqWhen enabled, will delegate to an existing model function wrapper if it exists. Generally should be left enabled.)r   r   ÚtooltipÚstart_sigmag      ð?g        z1First sigma that these options will be in effect.)r   r   r   r   rL   ÚadvancedÚ	end_sigmaz0Last sigma that these options will be in effect.Únerf_tile_sizez…Allows overriding the default NeRF tile size. -1 means use the default (32). 0 means use non-tiling mode (may require a lot of VRAM).)r   r   r   rL   rN   Úforce_sequential_txt_idsFzÒForce usage of sequential text token IDs instead of zeroes. Should be used for checkpoints from 2026-05-22 to 2026-06-01 that are trained in this way but do not contain the __sequential__ key in the state dict.)r   r   rL   rN   )r   r   Údescriptionr    r!   éÿÿÿÿ)r   r   ÚModelr#   ÚBooleanÚFloatr"   r'   r(   s   &r   r*   Ú#ChromaRadianceOptions.define_schema    s  € ä�yŠyØ+Ø2ØXä—‘—‘ '�Ó*Ü—
‘
× Ñ Ø)Ø ð Pð !ó ô
 —‘—‘Ø$ØØØØOØ!ð ó ô —‘—‘Ø"ØØØØNØ!ð ó ô —‘—‘Ø'ØØð dØ!ð ó ô —
‘
× Ñ Ø1Ø!ð qØ!ð	 !ó ð=$ôJ —X‘X—_‘_Ó&Ð'ôS*
ð *	
r   c                ó€   <€ V ^8„  d   QhRS[ P                  P                  RS[RS[RS[RS[RS[RS[ P                  /# )r   rJ   rK   rM   rO   rP   rQ   r   )r   rT   ÚTypeÚboolÚfloatr-   r.   )r   r   s   "€r   r   rH   O   s_   ø€ ÷ #$ñ #$ñ �x‰x�}‰}ð#$ñ ð	#$ñ
 ð#$ñ ð#$ñ ð#$ñ #'ð#$ñ 
�‰ñ#$r   c               ó<  aaaaa	€ / o	V^ 8¼  d   VS	R&   V'       d   RS	R&   S	'       g   \         P                  ! V4      # VP                  P                  R4      oR VVVV	V3R llpVP	                  4       pVP                  V4       \         P                  ! V4      # )r   rP   TÚuse_sequential_txt_idsÚmodel_function_wrapperc                óP   € V ^8„  d   QhR\         R\        R\        P                  /# )r   Úapply_modelÚargsr   )r   Údictr3   ÚTensor)r   s   "r   r   Ú3ChromaRadianceOptions.execute.<locals>.__annotate__e   s%   € ÷ 		=ñ 		=´ð 		=Äð 		=ÌÏÉñ 		=r   c                 ó¸  <€ VR ,          P                  4       pVR,          P                  4       P                  4       P                  4       P	                  4       pSTu;8:  d   S	8:  d;   M M7VP                  R/ 4      P                  4       pSP                  4       VR&   WBR&   S'       d	   S'       g   V ! VR,          VR,          3/ VB # S! WR V/,          4      # )ÚcÚtimestepÚtransformer_optionsÚchroma_radiance_optionsÚinput)Úcopyr   ÚdetachÚcpuÚitemÚget)
r`   ra   rf   Úsigmarh   rO   Úold_wrapperrK   Úradiance_optionsrM   s
   &&   €€€€€r   r^   Ú=ChromaRadianceOptions.execute.<locals>.model_function_wrappere   sº   ø€ Ø�S•	—‘Ó ˆAØ˜Õ$×(Ñ(Ó*×1Ñ1Ó3×7Ñ7Ó9×>Ñ>Ó@ˆEØ˜EÖ0 [×0Ø&'§e¡eÐ,AÀ2Ó&F×&KÑ&KÓ&MÐ#ØAQ×AVÑAVÓAXÐ#Ð$=Ñ>Ø+>Ð'Ñ(ß$¯Ù" 4¨¥=°$°zÕ2BÑHÀaÑHÐHÙ˜{°C¸°8­OÓ<Ð<r   )r   r.   Úmodel_optionsro   ÚcloneÚset_model_unet_function_wrapper)
r)   rJ   rK   rM   rO   rP   rQ   r^   rq   rr   s
   &$ddd$$ @@r   r9   ÚChromaRadianceOptions.executeN   sŒ   ü€ ð ÐØ˜QÔØ1?ÐÐ-Ñ.ç#Ø9=ÐÐ5Ñ6çÜ—=’= Ó'Ð'à×)Ñ)×-Ñ-Ð.FÓGˆ÷		=ô 		=ð —‘“ˆØ×-Ñ-Ð.DÔEÜ�}Š}˜UÓ#Ð#r   r;   Nr<   rD   s   @r   rF   rF      s,   ø‡ € Ø÷+
ó ð+
ðZ ÷#$ó ö#$r   rF   c                   ó<   a € ] tR t^ut o ]V 3R lR l4       tRtV tR# )ÚChromaRadianceExtensionc                óT   <€ V ^8„  d   QhRS[ S[S[P                  ,          ,          /# r
   )ÚlistÚtyper   Ú	ComfyNode)r   r   s   "€r   r   Ú$ChromaRadianceExtension.__annotate__w   s"   ø€ ÷ 
ñ 
¡T©$©r¯|©|Õ*<Õ%=ñ 
r   c              ƒ  ó"   "  € \         \        .# 5i©N)r   rF   )Úselfs   &r   Úget_node_listÚ%ChromaRadianceExtension.get_node_listv   s   é € ô +Ü!ð
ð 	
ùs   ‚r;   N)r=   r>   r?   r@   r   r‚   rB   rC   rD   s   @r   ry   ry   u   s   ø‡ € Ø÷
ó ö
r   ry   c                ó$   € V ^8„  d   QhR\         /# r
   ©ry   )r   s   "r   r   r   ~   s   € ÷ %ñ %Ô 7ñ %r   c               ƒ   ó   "  € \        4       # 5ir€   r…   r;   r   r   Úcomfy_entrypointr‡   ~   s   é € Ü"Ó$Ð$ùs   ‚)Útyping_extensionsr   Útypingr   r3   Úcomfy.model_managementr5   Úcomfy_api.latestr   r   r$   r}   r   rF   ry   r‡   r;   r   r   Ú<module>rŒ      sK   ðÝ &Ý ã ã ß /ã ô1 R§\¡\ô 1ô(S$˜BŸL™Lô S$ôl
˜nô 
÷%r   