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

CFGenerator' object has no attribute 'enable_vae_slicing | HELP #126

Open
adbrasi opened this issue Dec 24, 2024 · 3 comments
Open

CFGenerator' object has no attribute 'enable_vae_slicing | HELP #126

adbrasi opened this issue Dec 24, 2024 · 3 comments

Comments

@adbrasi
Copy link

adbrasi commented Dec 24, 2024

this only happens when you type 'consi' in easyfunction. I tested it in different environments.

2024-12-24T10:02:32.462496 - !!! Exception during processing !!! 'CFGenerator' object has no attribute 'enable_vae_slicing' 2024-12-24T10:02:32.463152 - Traceback (most recent call last): File "/teamspace/studios/this_studio/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 "/teamspace/studios/this_studio/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 "/teamspace/studios/this_studio/ComfyUI/custom_nodes/ComfyUI-0246/utils.py", line 353, in new_func res_value = old_func(*final_args, **kwargs) File "/teamspace/studios/this_studio/ComfyUI/execution.py", line 174, in _map_node_over_list process_inputs(input_dict, i) File "/teamspace/studios/this_studio/ComfyUI/execution.py", line 163, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/teamspace/studios/this_studio/ComfyUI/custom_nodes/ComfyUI_StoryDiffusion/Storydiffusion_node.py", line 1938, in story_sampler pipe.enable_vae_slicing() AttributeError: 'CFGenerator' object has no attribute 'enable_vae_slicing'

@smthemex
Copy link
Owner

Yes, this error is a logical error. When using ComfyUI classic mode, 'consi' mode should be invalidated. I fix it.

@adbrasi
Copy link
Author

adbrasi commented Dec 25, 2024

2024-12-25T21:56:09.807162 - Traceback (most recent call last): File "/teamspace/studios/this_studio/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 "/teamspace/studios/this_studio/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 "/teamspace/studios/this_studio/ComfyUI/custom_nodes/ComfyUI-0246/utils.py", line 353, in new_func res_value = old_func(*final_args, **kwargs) File "/teamspace/studios/this_studio/ComfyUI/execution.py", line 174, in _map_node_over_list process_inputs(input_dict, i) File "/teamspace/studios/this_studio/ComfyUI/execution.py", line 163, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/teamspace/studios/this_studio/ComfyUI/custom_nodes/ComfyUI_StoryDiffusion/Storydiffusion_node.py", line 1408, in story_model_loader raise "Use comfyUI calss processing don't support consistory mode,please checke readme how to use consistory mode." TypeError: exceptions must derive from BaseException

i couldn't find anything in the readme explaining how to use consistory mode other than typing 'consi' in easy function. is there anything else? sorry for the inconvenience

@smthemex
Copy link
Owner

do not link any other comfyUI node,just like this:
image

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