In C:\ComfyUI\customnodes\ComfyUI-NewBie-Nodes\comfynewbiecliploader.py ,…
- User
In C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\comfy_newbie_clip_loader.py ,
NewBieCLIP.encode_from_tokensoutputsclip_text_pooled. Explained how it's passed toNextDiT_CLIP.forwardwhen running in ComfyUI. Why can't I getclip_text_pooledinNextDiT_CLIP.forward? Assistant
I will list the files in the
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodesdirectory to locate the relevant files and then readcomfy_newbie_clip_loader.pyto understand theNewBieCLIP.encode_from_tokensmethod.Assistant
I will search for "NextDiT_CLIP" in the
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodesdirectory to locate its definition and theforwardmethod, and also try to readcomfy_newbie_clip_loader.pydirectly.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\comfy_newbie_clip_loader.pyto examine theNewBieCLIP.encode_from_tokensmethod and then readC:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\models\model.pyto investigateNextDiT_CLIP.Assistant
I will list the files in
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodeswithrespect_git_ignoreset tofalseto confirm the existence ofcomfy_newbie_clip_loader.py.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\models\model.pyto examine theNextDiT_CLIPclass and itsforwardmethod, and then I will userun_shell_commandto readC:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\comfy_newbie_clip_loader.py.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\comfy_newbie_clip_loader.pyusing thetypecommand to bypass the ignore patterns.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\models\model.pyusing thetypecommand to bypass the ignore patterns.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\comfy_newbie_model_sampling.pyandC:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\newbie_model_support.pyusing thetypecommand to understand how the model is sampled and if the conditioning dictionary is correctly passed to the model'sforwardmethod.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\comfy_newbie_model_sampling.pyusing thetypecommand.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\newbie_model_support.pyusing thetypecommand.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\comfy_newbie_unet_loader.pyusing thetypecommand to see how the model is loaded and wrapped.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\comfy_newbie_clip_text_encode.pyusing thetypecommand to determine if the issue lies within the custom text encode node.Assistant
I will search for the string "clip_text_pooled" in the
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodesdirectory to check for any typos or inconsistencies in its usage across the files.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\newbie_model_support.pyto prepare for adding debug prints.Assistant
I will add debug prints to
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\newbie_model_support.pyto trace theclip_text_pooledvariable. I'll insert a print statement inextra_condsto log the keys inkwargsand another inapply_modelto check for the presence ofclip_text_pooled.Assistant
I will attempt to add debug prints to
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\newbie_model_support.pyagain, but this time I will setexpected_replacementsto 1, as I am replacing a single block of code containing both theextra_condsandapply_modelmethods.Assistant
I will read
C:\ComfyUI\custom_nodes\ComfyUI-NewBie-Nodes\comfy_newbie_clip_loader.pyto verify the_encode_text_directmethod before adding a debug print to confirmclip_text_pooledis being added toextra_conds.