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

AttributeError: 'ModelPatcher' object has no attribute 'memory_required' #120

Open
GrosFumiste opened this issue Dec 10, 2023 · 1 comment

Comments

@GrosFumiste
Copy link

ERROR:root:Traceback (most recent call last):
File "S:\Comfy\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "S:\Comfy\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "S:\Comfy\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "S:\Comfy\ComfyUI\custom_nodes\SeargeSDXL\modules\magic_box.py", line 269, in process
(data, stage_result) = self.run_stage(stage, data, stage_input)
File "S:\Comfy\ComfyUI\custom_nodes\SeargeSDXL\modules\magic_box.py", line 248, in run_stage
(data, stage_result) = stage_processor.process(data, stage_input)
File "S:\Comfy\ComfyUI\custom_nodes\SeargeSDXL\modules\stage_sampling.py", line 126, in process
latent = sampler(base_model, base_positive, base_negative, latent, seed, steps, cfg,
File "S:\Comfy\ComfyUI\custom_nodes\SeargeSDXL\modules\node_wrapper.py", line 99, in sdxl_sampler
result = sdxl_ksampler(base_model, refiner_model, noise_seed, base_steps, refiner_steps, cfg, sampler_name,
File "S:\Comfy\ComfyUI\custom_nodes\SeargeSDXL\modules\custom_sdxl_ksampler.py", line 356, in sdxl_ksampler
samples = sdxl_sample(base_model, refiner_model, noise, base_steps, refiner_steps, cfg, sampler_name, scheduler,
File "S:\Comfy\ComfyUI\custom_nodes\SeargeSDXL\modules\custom_sdxl_ksampler.py", line 174, in sdxl_sample
memory_required = base_model.memory_required(noise.shape) + inference_memory
AttributeError: 'ModelPatcher' object has no attribute 'memory_required'

@SeargeDP
Copy link
Owner

Are you using the latest version of ComfyUI?

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