runtime error

Exit code: 1. Reason: | 4.28G/4.28G [00:08<00:00, 519MB/s] The config attributes {'extra_condition_channels': 4} were passed to FluxControlNetModel, but are not expected and will be ignored. Please verify your config.json configuration file. /usr/local/lib/python3.10/site-packages/diffusers/models/embeddings.py:2609: FutureWarning: `FluxPosEmbed` is deprecated and will be removed in version 1.0.0. Importing and using `FluxPosEmbed` from `diffusers.models.embeddings` is deprecated. Please import it from `diffusers.models.transformers.transformer_flux`. deprecate("FluxPosEmbed", "1.0.0", deprecation_message) Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> controlnet = FluxControlNetModel.from_pretrained("alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta", torch_dtype=torch.bfloat16) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 1288, in from_pretrained ) = cls._load_pretrained_model( File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 1580, in _load_pretrained_model offload_index, state_dict_index, _mismatched_keys, _error_msgs = load_fn(shard_file) File "/usr/local/lib/python3.10/site-packages/diffusers/models/model_loading_utils.py", line 370, in _load_shard_file offload_index, state_dict_index = load_model_dict_into_meta( File "/usr/local/lib/python3.10/site-packages/diffusers/models/model_loading_utils.py", line 296, in load_model_dict_into_meta raise ValueError( ValueError: Cannot load because controlnet_x_embedder.weight expected shape (3072, 64), but got (3072, 68). If you want to instead overwrite randomly initialized weights, please make sure to pass both `low_cpu_mem_usage=False` and `ignore_mismatched_sizes=True`. For more information, see also: https://github.com/huggingface/diffusers/issues/1619#issuecomment-1345604389 as an example.

Container logs:

Fetching error logs...