XLabs-AI / x-flux-comfyui

Apache License 2.0
787 stars 56 forks source link

Error occurred when executing XlabsSampler: list index out of range #113

Open bryanray opened 1 week ago

bryanray commented 1 week ago

Error occurred when executing XlabsSampler:

list index out of range

File "/root/ComfyUI/execution.py", line 316, 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 "/root/ComfyUI/execution.py", line 191, 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 "/root/ComfyUI/execution.py", line 168, in _map_node_over_list process_inputs(input_dict, i) File "/root/ComfyUI/execution.py", line 157, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/ComfyUI/custom_nodes/x-flux-comfyui/nodes.py", line 379, in sampling x = denoise_controlnet( File "/root/ComfyUI/custom_nodes/x-flux-comfyui/sampling.py", line 256, in denoise_controlnet t = timesteps[t_idx]

soldiff commented 1 week ago

I hit the same error, was able to resolve by switching to "Empty Latent Image" instead of "EmptySD3LatentImage" which some flux example workflows seem to be using.