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

Hello, I seem to have encountered some problems running theAttributeError: 'InstanceConditioning' object has no attribute 'parent' #17

Open
POGETUZI opened this issue Jan 4, 2025 · 0 comments

Comments

@POGETUZI
Copy link

POGETUZI commented Jan 4, 2025

2025-01-04T21:11:45.237798 - Prompt executed in 12.29 seconds
2025-01-04T21:11:45.533042 - Exception ignored in: 2025-01-04T21:11:45.533042 - <function LoadedModel.del at 0x00000219E0894DC0>2025-01-04T21:11:45.533042 -
2025-01-04T21:11:45.533042 - Traceback (most recent call last):
2025-01-04T21:11:45.533042 - File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\model_management.py", line 378, in del
2025-01-04T21:11:45.549055 - 2025-01-04T21:11:45.549055 - if self._patcher_finalizer is not None:2025-01-04T21:11:45.549055 -
2025-01-04T21:11:45.549055 - AttributeError2025-01-04T21:11:45.549055 - : 2025-01-04T21:11:45.549055 - 'LoadedModel' object has no attribute '_patcher_finalizer'2025-01-04T21:11:45.549055 -
2025-01-04T21:18:49.738564 - got prompt
2025-01-04T21:18:49.850656 - [AnimateDiffEvo] - �[0;32mINFO�[0m - Regular sampling activated - latents passed in (16) less or equal to context_length 16.
2025-01-04T21:18:49.850656 - [AnimateDiffEvo] - �[0;32mINFO�[0m - Using motion module sd15_t2v_beta.ckpt:v2.
2025-01-04T21:18:49.854659 - Requested to load BaseModel
2025-01-04T21:18:49.854659 - Requested to load AnimateDiffModel
2025-01-04T21:18:49.870673 - !!! Exception during processing !!! 'InstanceConditioning' object has no attribute 'parent'
2025-01-04T21:18:49.871674 - Traceback (most recent call last):
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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 "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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 "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy_extras\nodes_custom_sampler.py", line 476, in sample
samples = comfy.sample.sample_custom(model, noise, cfg, sampler, sigmas, positive, negative, latent_image, noise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise_seed)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\sample.py", line 48, in sample_custom
samples = comfy.samplers.sample(model, noise, positive, negative, cfg, model.load_device, sampler, sigmas, model_options=model.model_options, latent_image=latent_image, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\samplers.py", line 911, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\samplers.py", line 897, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\patcher_extension.py", line 111, in execute
return self.wrappers[self.idx](self, *args, **kwargs)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 464, in outer_sample_wrapper
latents = executor(*tuple(args), **kwargs)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\patcher_extension.py", line 103, in call
return new_executor.execute(*args, **kwargs)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\patcher_extension.py", line 111, in execute
return self.wrappers[self.idx](self, *args, **kwargs)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\sampling.py", line 125, in acn_outer_sample_wrapper
return executor(*args, **kwargs)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\patcher_extension.py", line 103, in call
return new_executor.execute(*args, **kwargs)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\samplers.py", line 854, in outer_sample
self.inner_model, self.conds, self.loaded_models = comfy.sampler_helpers.prepare_sampling(self.model_patcher, noise.shape, self.conds)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\sampler_helpers.py", line 111, in prepare_sampling
comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required, minimum_memory_required=minimum_memory_required)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\model_management.py", line 468, in load_models_gpu
loaded_model = LoadedModel(x)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\model_management.py", line 298, in init
self._set_model(model)
File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\model_management.py", line 307, in _set_model
if model.parent is not None:
AttributeError: 'InstanceConditioning' object has no attribute 'parent'

2025-01-04T21:18:49.873675 - Prompt executed in 0.05 seconds
2025-01-04T21:18:50.144899 - Exception ignored in: 2025-01-04T21:18:50.144899 - <function LoadedModel.del at 0x00000219E0894DC0>2025-01-04T21:18:50.144899 -
2025-01-04T21:18:50.144899 - Traceback (most recent call last):
2025-01-04T21:18:50.144899 - File "D:\sd-webui-aki\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\comfy\model_management.py", line 378, in del
2025-01-04T21:18:50.147902 - 2025-01-04T21:18:50.147902 - if self._patcher_finalizer is not None:2025-01-04T21:18:50.147902 -
2025-01-04T21:18:50.147902 - AttributeError2025-01-04T21:18:50.147902 - : 2025-01-04T21:18:50.147902 - 'LoadedModel' object has no attribute '_patcher_finalizer'2025-01-04T21:18:50.147902 -

## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

Workflow too large. Please manually upload the workflow from local file system.


## Additional Context
(Please add any additional context or steps to reproduce the error here)
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

1 participant