Open bryanray opened 2 months ago
Make sure your model pipeline comes directly from the model, and that the conditioning comes from the clip text encode
Or it is because you are using the dual clip text encoder instead of the standard one; for some reason it did not like the dual clip encoder in my tests
Error occurred when executing FluxSamplerParams+:
tuple 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/ComfyUI_essentials/sampling.py", line 375, in execute latent = samplercustomadvanced.sample(randnoise, guider, samplerobj, sigmas, latent_image)[1] File "/root/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 612, in sample samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed) File "/root/ComfyUI/comfy/samplers.py", line 716, in sample output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed) File "/root/ComfyUI/comfy/samplers.py", line 695, in inner_sample samples = sampler.sample(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar) File "/root/ComfyUI/comfy/samplers.py", line 600, in sample samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, self.extra_options) File "/root/ComfyUI/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, kwargs) File "/root/ComfyUI/comfy/k_diffusion/sampling.py", line 143, in sample_euler denoised = model(x, sigma_hat * s_in, *extra_args) File "/root/ComfyUI/comfy/samplers.py", line 299, in call out = self.inner_model(x, sigma, model_options=model_options, seed=seed) File "/root/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 993, in call return self.predict_noise(args, kwargs) File "/root/ComfyUI/custom_nodes/ComfyUI_smZNodes/smZNodes.py", line 1004, in predict_noise uncond=kwargs['uncond'] if 'uncond' in kwargs else (negative if (negative:=self.conds.get("negative", None)) is not None else args[3])