SingleStreamBlock.forward() got an unexpected keyword argument 'modulation_dims_img'
Your question
Using the nightly build of Comfyui and I'm getting the error "SingleStreamBlock.forward() got an unexpected keyword argument 'modulation_dims_img'" while attempting to run SamplerCustomAdvanced in my Hunyuan video generation workflow.
Up until quite litterally an hour ago my workflow was working great: I decided to update Comfyui and now all of a sudden I can no longer run my workflow.
Any ideas would be apreciated!
Thanks
Logs
2025-03-09T12:30:20.026474 - !!! Exception during processing !!! SingleStreamBlock.forward() got an unexpected keyword argument 'modulation_dims_img'
2025-03-09T12:30:20.028974 - Traceback (most recent call last):
File "S:\ComfyUI_windows_portable\ComfyUI\execution.py", line 327, 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 "S:\ComfyUI_windows_portable\ComfyUI\custom_nodes\wavespeed\first_block_cache.py", line 101, in new_get_output_data
out = get_output_data(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\execution.py", line 202, 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 "S:\ComfyUI_windows_portable\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "S:\ComfyUI_windows_portable\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 657, 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 "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 1008, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 976, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 959, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 738, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\k_diffusion\sampling.py", line 1355, in sample_gradient_estimation
denoised = model(x, sigmas[i] * s_in, **extra_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 390, in __call__
out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 939, in __call__
return self.predict_noise(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 942, in predict_noise
return sampling_function(self.inner_model, x, timestep, self.conds.get("negative", None), self.conds.get("positive", None), self.cfg, model_options=model_options, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 370, in sampling_function
out = calc_cond_batch(model, conds, x, timestep, model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 206, in calc_cond_batch
return executor.execute(model, conds, x_in, timestep, model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 317, in _calc_cond_batch
output = model_options['model_function_wrapper'](model.apply_model, {"input": input_x, "timestep": timestep_, "c": c, "cond_or_uncond": cond_or_uncond}).chunk(batch_chunks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\custom_nodes\wavespeed\fbcache_nodes.py", line 291, in model_unet_function_wrapper
raise exc from None
File "S:\ComfyUI_windows_portable\ComfyUI\custom_nodes\wavespeed\fbcache_nodes.py", line 286, in model_unet_function_wrapper
result = model_function(input, timestep, **c)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 133, in apply_model
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 165, in _apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\ldm\hunyuan_video\model.py", line 339, in forward
out = self.forward_orig(x, img_ids, context, txt_ids, attention_mask, timestep, y, guidance, guiding_frame_index, control, transformer_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\comfy\ldm\hunyuan_video\model.py", line 285, in forward_orig
img, txt = block(img=img, txt=txt, vec=vec, pe=pe, attn_mask=attn_mask, modulation_dims_img=modulation_dims, modulation_dims_txt=modulation_dims_txt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\custom_nodes\wavespeed\first_block_cache.py", line 315, in forward
) = self.call_remaining_transformer_blocks(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\ComfyUI\custom_nodes\wavespeed\first_block_cache.py", line 370, in call_remaining_transformer_blocks
hidden_states = block(hidden_states, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\_dynamo\eval_frame.py", line 574, in _fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: SingleStreamBlock.forward() got an unexpected keyword argument 'modulation_dims_img'
2025-03-09T12:30:20.035076 - Prompt executed in 53.23 seconds
Other
No response
When you upgraded ComfyUI, you probably installed the latest stable release instead of the latest nightly. I see that the modulation_dims_img has been added in this commit, but it's still not in a stable release, only in nightly.
Swicth to nightly and it should work.
When you upgraded ComfyUI, you probably installed the latest stable release instead of the latest nightly. I see that the
modulation_dims_imghas been added in this commit, but it's still not in a stable release, only in nightly.Swicth to nightly and it should work.
Unfortunatly this doesn't appear to be the case for me; I've double and triple checked and I do appear to be on the most recent nightly build v0.3.26. Even tried manually pulling the commited files and the issue remains. I'm not sure what I'm missing at this point.
I am also getting this error on the latest nightly build.
!!! Exception during processing !!! SingleStreamBlock.forward() got an unexpected keyword argument 'modulation_dims_img'
Traceback (most recent call last):
File "H:\Stable diffusion\ComfyUI\execution.py", line 327, 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 "H:\Stable diffusion\ComfyUI\custom_nodes\wavespeed\first_block_cache.py", line 90, in new_get_output_data
out = get_output_data(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\execution.py", line 202, 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 "H:\Stable diffusion\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "H:\Stable diffusion\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "H:\Stable diffusion\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 657, 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 "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 1008, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "H:\Stable diffusion\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 976, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 959, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
File "H:\Stable diffusion\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\custom_nodes\ComfyUI-TiledDiffusion\utils.py", line 34, in KSAMPLER_sample
return orig_fn(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 738, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
File "H:\Stable diffusion\ComfyUI\torch_env\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\comfy\k_diffusion\sampling.py", line 161, in sample_euler
denoised = model(x, sigma_hat * s_in, **extra_args)
File "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 390, in __call__
out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
File "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 939, in __call__
return self.predict_noise(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 942, in predict_noise
return sampling_function(self.inner_model, x, timestep, self.conds.get("negative", None), self.conds.get("positive", None), self.cfg, model_options=model_options, seed=seed)
File "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 370, in sampling_function
out = calc_cond_batch(model, conds, x, timestep, model_options)
File "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 206, in calc_cond_batch
return executor.execute(model, conds, x_in, timestep, model_options)
File "H:\Stable diffusion\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\comfy\samplers.py", line 317, in _calc_cond_batch
output = model_options['model_function_wrapper'](model.apply_model, {"input": input_x, "timestep": timestep_, "c": c, "cond_or_uncond": cond_or_uncond}).chunk(batch_chunks)
File "H:\Stable diffusion\ComfyUI\custom_nodes\wavespeed\fbcache_nodes.py", line 272, in model_unet_function_wrapper
raise exc from None
File "H:\Stable diffusion\ComfyUI\custom_nodes\wavespeed\fbcache_nodes.py", line 267, in model_unet_function_wrapper
result = model_function(input, timestep, **c)
File "H:\Stable diffusion\ComfyUI\comfy\model_base.py", line 133, in apply_model
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
File "H:\Stable diffusion\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\comfy\model_base.py", line 165, in _apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
File "H:\Stable diffusion\ComfyUI\torch_env\lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\torch_env\lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\comfy\ldm\hunyuan_video\model.py", line 339, in forward
out = self.forward_orig(x, img_ids, context, txt_ids, attention_mask, timestep, y, guidance, guiding_frame_index, control, transformer_options)
File "H:\Stable diffusion\ComfyUI\comfy\ldm\hunyuan_video\model.py", line 285, in forward_orig
img, txt = block(img=img, txt=txt, vec=vec, pe=pe, attn_mask=attn_mask, modulation_dims_img=modulation_dims, modulation_dims_txt=modulation_dims_txt)
File "H:\Stable diffusion\ComfyUI\torch_env\lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\torch_env\lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\custom_nodes\wavespeed\first_block_cache.py", line 292, in forward
) = self.call_remaining_transformer_blocks(
File "H:\Stable diffusion\ComfyUI\custom_nodes\wavespeed\first_block_cache.py", line 347, in call_remaining_transformer_blocks
hidden_states = block(hidden_states, *args, **kwargs)
File "H:\Stable diffusion\ComfyUI\torch_env\lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "H:\Stable diffusion\ComfyUI\torch_env\lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
TypeError: SingleStreamBlock.forward() got an unexpected keyword argument 'modulation_dims_img'
Prompt executed in 296.23 seconds
Switching the ldm folder back to v0.3.25 fixes the issue
Ah, maybe I get the problem you are having. Comfy has changed the I2V workflow recently, maybe you are all using an outdated node that is not working with the last change.
I've used the new workflow and model from the example page and I have not this problem: https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_video/#v2-replace
Ah, maybe I get the problem you are having. Comfy has changed the I2V workflow recently, maybe you are all using an outdated node that is not working with the last change.
I've used the new workflow and model from the example page and I have not this problem: https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_video/#v2-replace
I'm using the following workflow with a few person edits: https://civitai.com/models/1007385?modelVersionId=1378643
I'm only using the t2v version of the workflow and from what I can tell; the samplers used are Comfyui ones. I'll try messing around with some more things to see if I can trace anything else out.
Okay, i think it may be wavespeed/teacache causing the error with latest commits
Ah, maybe I get the problem you are having. Comfy has changed the I2V workflow recently, maybe you are all using an outdated node that is not working with the last change.
I've used the new workflow and model from the example page and I have not this problem: https://comfyanonymous.github.io/ComfyUI_examples/hunyuan_video/#v2-replace
this workflow works only change I see is they added guidance, added that node to my workflow and it still error with wavespeed(haven't tried it with new workflow or without in old workflow yet so could be wrong)
This is a problem with the wavespeed custom node you are using.
This is a problem with the wavespeed custom node you are using.
Is there a workaround for it? A different version of WaveSpeed, or switching another component's version?
This is a problem with the wavespeed custom node you are using.
Is there a workaround for it? A different version of WaveSpeed, or switching another component's version?
The workaround = Stop using the problematic node.
@HowellBP I'm not aware of another Wavespeed node, but you can sub in TeaCache instead.
yeah, seems teacache was just updated so it should work now(haven't tried) will have to wait for wavespeed to update, but it may be a while for that one as I think the dev is often pretty busy.
edit nope seems it was only updated for t2v. You may be able to use teacache in the hunyuanwrapper nodes though
当您升级 ComfyUI 时,您可能安装了最新的稳定版本,而不是最新的 nightly。我看到 the 已添加到此提交中,但它仍然不在稳定版本中,仅在 nightly 中。
modulation_dims_imgSwicth 到 nightly,它应该可以工作。不幸的是,这对我来说似乎并非如此;我已经仔细检查了两次和三次检查,我似乎确实在最新的夜间版本 v0.3.26 上。即使尝试手动提取提交的文件,问题仍然存在。我不确定此时我错过了什么。
I rolled back the ComfyUI version to 0.3.25 and it worked fine
Rollback to Version 0.3.25 worked for me.
Rollback with git checkout v0.3.25 in comfyui directory.
Rollback with
git checkout v0.3.25in comfyui directory.
That worked thanks!
This small patch worked with no backlevelling of ComfyUI:
https://github.com/chengzeyi/Comfy-WaveSpeed/issues/115#issuecomment-2715361739
For me the workaround doesnt worked, so rollback should be the best
For me the workaround doesnt worked, so rollback should be the best
The patch works for latest levels of code, FYI.
Hi, I have checked the code in ComfyUI (ComfyUI/comfy/ldm/flux/layers.py), and indeed modulation_dims_img, was added, but they added this to the forward() function, inside the DoubleStreamBlock class, not the SingleStreamBlock one (Which is the error). Could a developer summarize which is used in which case, or if there is any version, where modulation_dims_img, exists in SingleStreamBlock?
Updating WaveSpeed fixed my issue. Can bypass too.