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

module 'comfy.model_management' has no attribute 'unload_model_clones' #115

Open
jackqn opened this issue Dec 17, 2024 · 2 comments
Open

Comments

@jackqn
Copy link

jackqn commented Dec 17, 2024

I obtained the correct results when using the SDXL model
When I was using the 1.5 model, an error occurred
module 'comfy.model_management' has no attribute 'unload_model_clones'
got prompt
!!! Exception during processing !!! module 'comfy.model_management' has no attribute 'unload_model_clones'
Traceback (most recent call last):
File "G:\jack\ComfyUI\execution.py", line 328, 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 "G:\jack\ComfyUI\execution.py", line 203, 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 "G:\jack\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "G:\jack\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\jack\ComfyUI\custom_nodes\ComfyUI-layerdiffuse\layered_diffusion.py", line 362, in apply_layered_diffusion
return ld_model.apply_layered_diffusion_attn_sharing(model)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\jack\ComfyUI\custom_nodes\ComfyUI-layerdiffuse\layered_diffusion.py", line 288, in apply_layered_diffusion_attn_sharing
patcher = AttentionSharingPatcher(
^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\jack\ComfyUI\custom_nodes\ComfyUI-layerdiffuse\lib_layerdiffusion\attention_sharing.py", line 330, in init
model_management.unload_model_clones(unet)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'comfy.model_management' has no attribute 'unload_model_clones'

@GeminiSquishGames
Copy link

Same here. It seemed to work fine a few updates ago but my workflows for 1.5 are broken.

@sjsdwwy
Copy link

sjsdwwy commented Dec 20, 2024

这里也是一样。几次更新前它似乎运行良好,但我的 1.5 工作流程坏了。

Is it solved? I also reported the same error.

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

3 participants