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

FluxGuffInpainting 'NoneType' object has no attribute 'config' #3

Open
DivXPro opened this issue Jan 9, 2025 · 2 comments
Open

FluxGuffInpainting 'NoneType' object has no attribute 'config' #3

DivXPro opened this issue Jan 9, 2025 · 2 comments

Comments

@DivXPro
Copy link

DivXPro commented Jan 9, 2025

Loading Flux NF4 Inpainting
Using gguf.
Loading pipeline components...: 100%|████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 305.44it/s]
!!! Exception during processing !!! 'NoneType' object has no attribute 'config'
Traceback (most recent call last):
File "/Users/huhui/ai/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 "/Users/huhui/ai/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 "/Users/huhui/ai/ComfyUI/execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "/Users/huhui/ai/ComfyUI/execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/huhui/ai/ComfyUI/custom_nodes/comfyui-flux-inpainting/nodes.py", line 448, in inpainting
_pipeline = load_simple_flux_fill_gguf(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/huhui/ai/ComfyUI/custom_nodes/comfyui-flux-inpainting/modules/load_util.py", line 120, in load_simple_flux_fill_gguf
orig_pipeline = FluxFillPipeline.from_pretrained(flux_dir, torch_dtype=dtype, **exclude_sub_model_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/huhui/miniconda3/envs/comfyui/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/Users/huhui/miniconda3/envs/comfyui/lib/python3.12/site-packages/diffusers/pipelines/pipeline_utils.py", line 976, in from_pretrained
model = pipeline_class(**init_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/huhui/ai/ComfyUI/custom_nodes/comfyui-flux-inpainting/modules/pipeline_flux_fill.py", line 238, in init
vae_latent_channels=self.vae.config.latent_channels,
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'config'

@rubi-du
Copy link
Owner

rubi-du commented Jan 9, 2025

@DivXPro This may be caused by a low diffusers version. Try upgrading to 0.32.0 and then try again

@rubi-du
Copy link
Owner

rubi-du commented Jan 12, 2025

@DivXPro Oh, so sorry, It's my problem, we have fixed it

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