runtime error

Exit code: 1. Reason: [00:15<00:00, 282MB/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:2617: 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 "/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 1296, in from_pretrained ) = cls._load_pretrained_model( File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 1678, 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 367, 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 293, in load_model_dict_into_meta raise ValueError( ValueError: Cannot load because controlnet_x_embedder.weight expected shape torch.Size([3072, 64]), but got torch.Size([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...