runtime error
Exit code: 1. Reason: recommended to move them to `cpu` as running them will fail. Please make sure to use an accelerator to run the pipeline in inference, due to the lack of support for`float16` operations on this device in PyTorch. Please, remove the `torch_dtype=torch.float16` argument, or use another device for inference. Pipelines loaded with `dtype=torch.float16` cannot run with `cpu` device. It is not recommended to move them to `cpu` as running them will fail. Please make sure to use an accelerator to run the pipeline in inference, due to the lack of support for`float16` operations on this device in PyTorch. Please, remove the `torch_dtype=torch.float16` argument, or use another device for inference. config.json: 0%| | 0.00/4.52k [00:00<?, ?B/s][A config.json: 100%|ββββββββββ| 4.52k/4.52k [00:00<00:00, 28.4MB/s] model.safetensors: 0%| | 0.00/1.71G [00:00<?, ?B/s][A model.safetensors: 1%|β | 22.3M/1.71G [00:01<01:59, 14.2MB/s][A model.safetensors: 24%|βββ | 410M/1.71G [00:02<00:07, 182MB/s] [A model.safetensors: 56%|ββββββ | 966M/1.71G [00:03<00:02, 326MB/s][A model.safetensors: 100%|ββββββββββ| 1.71G/1.71G [00:04<00:00, 360MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 51, in <module> ip_model = IPAdapterXL(pipe, image_encoder_path, ip_ckpt, device, target_blocks=["up_blocks.0.attentions.1"]) File "/home/user/app/ip_adapter/ip_adapter.py", line 85, in __init__ self.load_ip_adapter() File "/home/user/app/ip_adapter/ip_adapter.py", line 151, in load_ip_adapter self.image_proj_model.load_state_dict(state_dict["image_proj"]) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2581, in load_state_dict raise RuntimeError( RuntimeError: Error(s) in loading state_dict for ImageProjModel: size mismatch for proj.weight: copying a param with shape torch.Size([8192, 1024]) from checkpoint, the shape in current model is torch.Size([8192, 768]).
Container logs:
Fetching error logs...