Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"holder is not None" - ADE_PromptSchedulingLatents Error from "Prompt Scheduling [Latents]" #495

Open
felixniemeyer opened this issue Oct 30, 2024 · 4 comments

Comments

@felixniemeyer
Copy link

ComfyUI Error Report

Error Details

  • Node Type: ADE_PromptSchedulingLatents
  • Exception Type: AssertionError
  • Exception Message:

Stack Trace

  File "/home/felix/davdev/ai/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/felix/davdev/ai/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/felix/davdev/ai/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/home/felix/davdev/ai/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/nodes_scheduling.py", line 96, in create_schedule
    conditioning = evaluate_prompt_schedule(prompts, latent["samples"].size(0), clip, options)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/scheduling.py", line 130, in evaluate_prompt_schedule
    return parse_prompt_groups(json_matches, length, clip, options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/scheduling.py", line 182, in parse_prompt_groups
    final_vals = handle_prompt_interpolation(pairs, length, clip, options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/scheduling.py", line 359, in handle_prompt_interpolation
    assert holder is not None
           ^^^^^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: v0.2.6-2-gdaa1565
  • Arguments: main.py --listen
  • OS: posix
  • Python Version: 3.12.6 (main, Sep 8 2024, 13:18:56) [GCC 14.2.1 20240805]
  • Embedded Python: false
  • PyTorch Version: 2.4.1+cu121

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 16854024192
    • VRAM Free: 14408171050
    • Torch VRAM Total: 1879048192
    • Torch VRAM Free: 41565738

Logs

2024-10-30 18:14:23,713 - root - INFO - Total VRAM 16073 MB, total RAM 32000 MB
2024-10-30 18:14:23,713 - root - INFO - pytorch version: 2.4.1+cu121
2024-10-30 18:14:23,714 - root - INFO - Set vram state to: NORMAL_VRAM
2024-10-30 18:14:23,714 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
2024-10-30 18:14:24,701 - root - INFO - Using pytorch cross attention
2024-10-30 18:14:25,986 - root - INFO - [Prompt Server] web root: /home/felix/davdev/ai/ComfyUI/web
2024-10-30 18:14:54,205 - root - INFO - 
Import times for custom nodes:
2024-10-30 18:14:54,206 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-seamless-tiling
2024-10-30 18:14:54,206 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/cg-use-everywhere
2024-10-30 18:14:54,206 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/websocket_image_save.py
2024-10-30 18:14:54,206 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/comfyui-fitsize
2024-10-30 18:14:54,206 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI_Nimbus-Pack
2024-10-30 18:14:54,206 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI_Eagleshadow
2024-10-30 18:14:54,206 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/comfyui-yanc
2024-10-30 18:14:54,206 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI_FizzNodes
2024-10-30 18:14:54,207 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/comfyui-workspace-manager
2024-10-30 18:14:54,207 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus
2024-10-30 18:14:54,207 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved
2024-10-30 18:14:54,207 - root - INFO -    0.0 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-EasyCivitai-XTNodes
2024-10-30 18:14:54,207 - root - INFO -    0.1 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-Manager
2024-10-30 18:14:54,207 - root - INFO -    0.1 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet
2024-10-30 18:14:54,207 - root - INFO -    0.2 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
2024-10-30 18:14:54,207 - root - INFO -    0.5 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/comfyui_controlnet_aux
2024-10-30 18:14:54,207 - root - INFO -    0.7 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI_Jags_VectorMagic
2024-10-30 18:14:54,207 - root - INFO -   26.1 seconds: /home/felix/davdev/ai/ComfyUI/custom_nodes/comfy_mtb
2024-10-30 18:14:54,207 - root - INFO - 
2024-10-30 18:14:54,220 - root - INFO - Starting server

2024-10-30 18:14:54,221 - root - INFO - To see the GUI go to: http://0.0.0.0:8188
2024-10-30 18:14:54,222 - root - INFO - To see the GUI go to: http://[::]:8188
2024-10-30 18:15:06,950 - root - INFO - got prompt
2024-10-30 18:15:07,742 - root - INFO - model weight dtype torch.float16, manual cast: None
2024-10-30 18:15:07,743 - root - INFO - model_type EPS
2024-10-30 18:15:13,166 - root - INFO - Using pytorch attention in VAE
2024-10-30 18:15:13,167 - root - INFO - Using pytorch attention in VAE
2024-10-30 18:15:13,496 - root - INFO - Requested to load SDXLClipModel
2024-10-30 18:15:13,496 - root - INFO - Loading 1 new model
2024-10-30 18:15:13,507 - root - INFO - loaded completely 0.0 1560.802734375 True
2024-10-30 18:15:27,014 - root - INFO - Requested to load AutoencoderKL
2024-10-30 18:15:27,014 - root - INFO - Loading 1 new model
2024-10-30 18:15:27,050 - root - INFO - loaded completely 0.0 159.55708122253418 True
2024-10-30 18:15:36,586 - root - ERROR - !!! Exception during processing !!! 
2024-10-30 18:15:36,588 - root - ERROR - Traceback (most recent call last):
  File "/home/felix/davdev/ai/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/felix/davdev/ai/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/felix/davdev/ai/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/home/felix/davdev/ai/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/nodes_scheduling.py", line 96, in create_schedule
    conditioning = evaluate_prompt_schedule(prompts, latent["samples"].size(0), clip, options)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/scheduling.py", line 130, in evaluate_prompt_schedule
    return parse_prompt_groups(json_matches, length, clip, options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/scheduling.py", line 182, in parse_prompt_groups
    final_vals = handle_prompt_interpolation(pairs, length, clip, options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/felix/davdev/ai/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/scheduling.py", line 359, in handle_prompt_interpolation
    assert holder is not None
           ^^^^^^^^^^^^^^^^^^
AssertionError

2024-10-30 18:15:36,589 - root - INFO - Prompt executed in 29.63 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"last_node_id":246,"last_link_id":556,"nodes":[{"id":201,"type":"FreeU_V2","pos":{"0":-1027,"1":-168},"size":{"0":210,"1":130},"flags":{"collapsed":true},"order":14,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":540}],"outputs":[{"name":"MODEL","type":"MODEL","links":[476],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"FreeU_V2"},"widgets_values":[1.6400000000000001,1.4000000000000001,0.9,0.2],"color":"#223","bgcolor":"#335"},{"id":93,"type":"ADE_AnimateDiffLoaderWithContext","pos":{"0":-467.4036560058594,"1":-350.0340576171875},"size":{"0":315,"1":230},"flags":{},"order":17,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":476},{"name":"context_options","type":"CONTEXT_OPTIONS","link":334,"slot_index":1},{"name":"motion_lora","type":"MOTION_LORA","link":null},{"name":"motion_model_settings","type":"MOTION_MODEL_SETTINGS","link":null,"slot_index":3},{"name":"sample_settings","type":"SAMPLE_SETTINGS","link":null},{"name":"ad_keyframes","type":"AD_KEYFRAMES","link":null}],"outputs":[{"name":"MODEL","type":"MODEL","links":[477],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ADE_AnimateDiffLoaderWithContext"},"widgets_values":["hsxl_temporal_layers.safetensors","linear (HotshotXL/default)",1,true],"color":"#2a363b","bgcolor":"#3f5159"},{"id":109,"type":"VHS_VideoCombine","pos":{"0":1524.8369140625,"1":-331.16412353515625},"size":[320,306],"flags":{},"order":23,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":226},{"name":"audio","type":"AUDIO","link":null},{"name":"meta_batch","type":"VHS_BatchManager","link":null},{"name":"vae","type":"VAE","link":null},{"name":"filename_prefix","type":"STRING","link":546,"widget":{"name":"filename_prefix"}}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null,"shape":3}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":15,"loop_count":0,"filename_prefix":"hotshot/1/v","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":20,"save_metadata":true,"pingpong":false,"save_output":true,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"v_00013.mp4","subfolder":"hotshot/1","type":"output","format":"video/h264-mp4","frame_rate":15}}},"color":"#233","bgcolor":"#355"},{"id":159,"type":"ADE_AnimateDiffUniformContextOptions","pos":{"0":-845.4036865234375,"1":-369.0340576171875},"size":{"0":315,"1":270},"flags":{},"order":0,"mode":0,"inputs":[{"name":"prev_context","type":"CONTEXT_OPTIONS","link":null},{"name":"view_opts","type":"VIEW_OPTS","link":null}],"outputs":[{"name":"CONTEXT_OPTIONS","type":"CONTEXT_OPTIONS","links":[334],"shape":3}],"properties":{"Node name for S&R":"ADE_AnimateDiffUniformContextOptions"},"widgets_values":[8,1,3,"uniform",false,"flat",false,0,1,""],"color":"#2a363b","bgcolor":"#3f5159"},{"id":190,"type":"CheckpointLoaderSimple","pos":{"0":-1594,"1":-671},"size":{"0":450,"1":100},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[538],"slot_index":0},{"name":"CLIP","type":"CLIP","links":[518,530],"slot_index":1},{"name":"VAE","type":"VAE","links":[523,524],"slot_index":2}],"properties":{"Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["sd_xl_base_1.0.safetensors"],"color":"#323","bgcolor":"#535","shape":1},{"id":230,"type":"CLIPTextEncode","pos":{"0":-785.50634765625,"1":-701.8678588867188},"size":{"0":400,"1":200},"flags":{},"order":11,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":518}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[525],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":[""]},{"id":189,"type":"KSampler","pos":{"0":386.79638671875,"1":-562.7415771484375},"size":{"0":210,"1":234},"flags":{},"order":21,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":477},{"name":"positive","type":"CONDITIONING","link":531},{"name":"negative","type":"CONDITIONING","link":525},{"name":"latent_image","type":"LATENT","link":542},{"name":"seed","type":"INT","link":null,"widget":{"name":"seed"}}],"outputs":[{"name":"LATENT","type":"LATENT","links":[483],"slot_index":0}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[884854428745762,"randomize",12,8,"euler","normal",0.9],"color":"#223","bgcolor":"#335"},{"id":236,"type":"ImageResizeAndCropNode","pos":{"0":-1230,"1":-1091},"size":{"0":327.5999755859375,"1":154},"flags":{},"order":13,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":535},{"name":"width","type":"INT","link":536,"widget":{"name":"width"}},{"name":"height","type":"INT","link":537,"widget":{"name":"height"}}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[534],"shape":3}],"properties":{"Node name for S&R":"ImageResizeAndCropNode"},"widgets_values":[1024,1024,"center","lanczos","false"]},{"id":104,"type":"PrimitiveNode","pos":{"0":-1532,"1":-959},"size":{"0":210,"1":82},"flags":{"collapsed":false},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","links":[536,537],"slot_index":0,"widget":{"name":"width"}}],"title":"Width","properties":{"Run widget replace on values":false},"widgets_values":[1024,"fixed"],"color":"#323","bgcolor":"#535"},{"id":193,"type":"LoraLoaderModelOnly","pos":{"0":-1590,"1":-494},"size":{"0":450,"1":82},"flags":{},"order":10,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":538}],"outputs":[{"name":"MODEL","type":"MODEL","links":[540],"slot_index":0,"shape":3}],"title":"Load Aditional Lora #1","properties":{"Node name for S&R":"LoraLoaderModelOnly"},"widgets_values":["fulldome_v2.safetensors",1],"color":"#323","bgcolor":"#535","shape":1},{"id":204,"type":"Seed Everywhere","pos":{"0":-1597,"1":113},"size":{"0":315,"1":124.00009155273438},"flags":{"collapsed":false},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","links":[],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Seed Everywhere","group_restricted":false,"color_restricted":false},"widgets_values":[336064979903041,"fixed"],"color":"#323","bgcolor":"#535"},{"id":56,"type":"VAEEncode","pos":{"0":-775,"1":-806},"size":{"0":210,"1":46},"flags":{"collapsed":false},"order":16,"mode":0,"inputs":[{"name":"pixels","type":"IMAGE","link":534},{"name":"vae","type":"VAE","link":524}],"outputs":[{"name":"LATENT","type":"LATENT","links":[541],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEEncode"},"color":"#322","bgcolor":"#533"},{"id":10,"type":"VAEDecode","pos":{"0":650,"1":-478},"size":{"0":210,"1":46},"flags":{"collapsed":false},"order":22,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":483},{"name":"vae","type":"VAE","link":523}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[226,543],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEDecode"},"color":"#322","bgcolor":"#533"},{"id":238,"type":"PrimitiveNode","pos":{"0":-1549,"1":-1363},"size":{"0":210,"1":82},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","links":[544],"slot_index":0,"widget":{"name":"n"}}],"properties":{"Run widget replace on values":false},"widgets_values":[3,"increment"]},{"id":240,"type":"PrimitiveNode","pos":{"0":934,"1":-227},"size":{"0":210,"1":76},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"STRING","type":"STRING","links":[545],"slot_index":0,"widget":{"name":"string_b"}}],"properties":{"Run widget replace on values":false},"widgets_values":["preview"]},{"id":243,"type":"PrimitiveNode","pos":{"0":-1546,"1":-1494},"size":{"0":210,"1":76},"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"STRING","type":"STRING","links":[553],"slot_index":0,"widget":{"name":"a_optional"}}],"properties":{"Run widget replace on values":false},"widgets_values":[""]},{"id":241,"type":"ConcatStringSingle","pos":{"0":1210,"1":-246},"size":{"0":243.60000610351562,"1":54},"flags":{},"order":19,"mode":0,"inputs":[{"name":"string_a","type":"STRING","link":556,"widget":{"name":"string_a"}},{"name":"string_b","type":"STRING","link":545,"widget":{"name":"string_b"}}],"outputs":[{"name":"STRING","type":"STRING","links":[546],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ConcatStringSingle"},"widgets_values":["","preview"]},{"id":245,"type":"ConcatStringSingle","pos":{"0":1223,"1":-613},"size":{"0":243.60000610351562,"1":54},"flags":{},"order":18,"mode":0,"inputs":[{"name":"string_a","type":"STRING","link":555,"widget":{"name":"string_a"}},{"name":"string_b","type":"STRING","link":551,"widget":{"name":"string_b"}}],"outputs":[{"name":"STRING","type":"STRING","links":[552],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ConcatStringSingle"},"widgets_values":["","/frames"]},{"id":242,"type":"PrimitiveNode","pos":{"0":922,"1":-595},"size":{"0":210,"1":76},"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"STRING","type":"STRING","links":[551],"slot_index":0,"widget":{"name":"string_b"}}],"properties":{"Run widget replace on values":false},"widgets_values":["/frames"]},{"id":237,"type":"SaveImageToFolder","pos":{"0":1528.8369140625,"1":-635.1640625},"size":{"0":315,"1":106},"flags":{},"order":24,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":543},{"name":"folder_path","type":"STRING","link":552,"widget":{"name":"folder_path"}}],"outputs":[],"properties":{"Node name for S&R":"SaveImageToFolder"},"widgets_values":["OutputFolder","",true]},{"id":246,"type":"YANC.ConcatStrings","pos":{"0":818,"1":-790},"size":{"0":315,"1":106},"flags":{},"order":15,"mode":0,"inputs":[{"name":"a_optional","type":"STRING","link":553,"widget":{"name":"a_optional"}},{"name":"b_optional","type":"STRING","link":554,"widget":{"name":"b_optional"}}],"outputs":[{"name":"STRING","type":"STRING","links":[555,556],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"YANC.ConcatStrings"},"widgets_values":["/","",""]},{"id":239,"type":"YANC.IntegerCaster","pos":{"0":384,"1":-1366},"size":{"0":315,"1":98},"flags":{},"order":12,"mode":0,"inputs":[{"name":"n","type":"INT","link":544,"widget":{"name":"n"}}],"outputs":[{"name":"INT","type":"INT","links":null,"shape":3},{"name":"FLOAT","type":"FLOAT","links":null,"shape":3},{"name":"STRING","type":"STRING","links":[554],"slot_index":2,"shape":3}],"properties":{"Node name for S&R":"YANC.IntegerCaster"},"widgets_values":[3]},{"id":235,"type":"VHS_LoadImagesPath","pos":{"0":-1559,"1":-1211},"size":[246.31622314453125,194],"flags":{},"order":8,"mode":0,"inputs":[{"name":"meta_batch","type":"VHS_BatchManager","link":null}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[535],"slot_index":0,"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3},{"name":"frame_count","type":"INT","links":null,"shape":3}],"properties":{"Node name for S&R":"VHS_LoadImagesPath"},"widgets_values":{"directory":"input/song3-2048-test/","image_load_cap":0,"skip_first_images":0,"select_every_nth":4,"choose folder to upload":"image","videopreview":{"hidden":false,"paused":false,"params":{"frame_load_cap":0,"skip_first_images":0,"select_every_nth":4,"filename":"input/song3-2048-test/","type":"path","format":"folder"},"muted":false}}},{"id":233,"type":"ADE_PromptSchedulingLatents","pos":{"0":-486,"1":-1286},"size":{"0":813.3623046875,"1":505.9666748046875},"flags":{},"order":20,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":530},{"name":"latent","type":"LATENT","link":541},{"name":"values_replace","type":"VALUES_REPLACE","link":null},{"name":"prepend_text","type":"STRING","link":null,"widget":{"name":"prepend_text"}},{"name":"append_text","type":"STRING","link":532,"widget":{"name":"append_text"}}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[531],"shape":3},{"name":"LATENT","type":"LATENT","links":[542],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"ADE_PromptSchedulingLatents"},"widgets_values":["\"18\": \"nebula, space, stars, vast space, darkness, spaceships, space highway\",\n\"90\": \"spaceships, space highway, stars, planets, radio waves, huge planet, space, stars \",\n\"162\": \"huge planet, space, stars, radio waves, alien, contact, communication\",\n\"270\": \"glowing core, lava, heart\",\n\"468\": \"mycelium, nano fibres, micro organisms, life, plants, animals, cells\",\n\"450\": \"planets, moons, colors, nebula, space, stars, beautyful, spaceships, space, alien\",\n\"559\": \"planets, moons, colors, nebula, space, stars, beautyful, spaceships, space, alien\",\n\"630\": \"wisdom, elders, roots, golden spheres\",\n\"702\": \"planets, moons, colors, nebula, space, stars, beautyful, spaceships, space, alien\",\n\"809\": \"planets, moons, colors, nebula, space, stars, beautyful, spaceships, space, alien\",\n\"882\": \"neurons, information transfer, electricity, CPU, brain, technology, space stations, space ships\",\n\"954\": \"planets, moons, colors, nebula, space, stars, beautyful, spaceships, space, alien\",\n\"1062\": \"planets, moons, colors, nebula, space, stars, beautyful, spaceships, space, alien\",\n\"1133\": \"underwater world, glowing jelly fish, corals, bubbles, anemone\",\n\"1206\": \"cosmos, planets, moons, colors, nebula, space, stars, beautyful, spaceships, space, alien\",\n\"1458\": \"galaxy, space crossing, stars, planets, colors, nebula, space, stars, beautyful, spaceships, space, alien\",\n\"1627\": \"nebula, space, galaxy, solar system, space crossing\"","",", fisheye, fulldome",false,"lerp"]},{"id":234,"type":"PrimitiveNode","pos":{"0":-773,"1":-1202},"size":{"0":210,"1":76},"flags":{},"order":9,"mode":0,"inputs":[],"outputs":[{"name":"STRING","type":"STRING","links":[532],"slot_index":0,"widget":{"name":"append_text"}}],"properties":{"Run widget replace on values":false},"widgets_values":[", fisheye, fulldome"]}],"links":[[226,10,0,109,0,"IMAGE"],[334,159,0,93,1,"CONTEXT_OPTIONS"],[476,201,0,93,0,"MODEL"],[477,93,0,189,0,"MODEL"],[483,189,0,10,0,"LATENT"],[509,204,0,189,4,"INT"],[518,190,1,230,0,"CLIP"],[523,190,2,10,1,"VAE"],[524,190,2,56,1,"VAE"],[525,230,0,189,2,"CONDITIONING"],[529,204,0,189,4,"INT"],[530,190,1,233,0,"CLIP"],[531,233,0,189,1,"CONDITIONING"],[532,234,0,233,4,"STRING"],[534,236,0,56,0,"IMAGE"],[535,235,0,236,0,"IMAGE"],[536,104,0,236,1,"INT"],[537,104,0,236,2,"INT"],[538,190,0,193,0,"MODEL"],[540,193,0,201,0,"MODEL"],[541,56,0,233,1,"LATENT"],[542,233,1,189,3,"LATENT"],[543,10,0,237,0,"IMAGE"],[544,238,0,239,0,"INT"],[545,240,0,241,1,"STRING"],[546,241,0,109,4,"STRING"],[551,242,0,245,1,"STRING"],[552,245,0,237,1,"STRING"],[553,243,0,246,0,"STRING"],[554,239,2,246,1,"STRING"],[555,246,0,245,0,"STRING"],[556,246,0,241,0,"STRING"]],"groups":[{"title":"KSampler","bounding":[377,-633,230,318],"color":"#3f789e","font_size":24,"flags":{}},{"title":"Animate Diff Nodes","bounding":[-858,-456,782,412],"color":"#3f789e","font_size":24,"flags":{}},{"title":"Outputs","bounding":[1510,-724,352,1041],"color":"#8AA","font_size":24,"flags":{}},{"title":"Inputs","bounding":[-1623,-1291,702,1553],"color":"#a1309b","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.7627768444385649,"offset":[1648.931524787076,1534.8017436829693]},"0246.VERSION":[0,0,4]},"version":0.4}

Additional Context

Prompt Scheduling-Node (without [Latents]) works fine all other things unchanged.

@felixniemeyer felixniemeyer changed the title ADE_PromptSchedulingLatents from "Prompt Scheduling [Latents]" ADE_PromptSchedulingLatents Error from "Prompt Scheduling [Latents]" Oct 30, 2024
@felixniemeyer felixniemeyer changed the title ADE_PromptSchedulingLatents Error from "Prompt Scheduling [Latents]" "holder is not None" - ADE_PromptSchedulingLatents Error from "Prompt Scheduling [Latents]" Oct 30, 2024
@Kosinkadink
Copy link
Owner

Can you provide the full prompt input and latent count inputted into the latents input? It will let me replicate the issue.

Someone reported something similar a few weeks ago that I fixed, so this will also help me confirm if you're still on an older version (in which case simply updating AnimateDiff-Evolved will fix the issue), or if there is another edge case I'll need to fix.

@Kosinkadink
Copy link
Owner

Actually, your stack trace contains the workflow, so I should be able to use the full prompt from that - but can you provide the latent count in case your workflow determines that from loading images? Thanks!

@felixniemeyer
Copy link
Author

Latent count was capped to 50.
I do this, when I want to get a first impression of the workflow results before running with 1500 frames... :)
I realized, this may cause the error

@felixniemeyer
Copy link
Author

I did update all in ComyUI manager to confirm this is happening with the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants